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

Bind variables in sql server

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

View Article


SQL 2005 Copy database - doesnt create trigger on destination?

I just used the copy database now and after it completed, i noticed that a trigger is missing from a table.  Does this feature not copy triggers over to the destination?

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

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

Image may be NSFW.
Clik here to view.

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

SkyRiver

View Article


SQL server is lazy, how do I motivate it ?

I have a very large DB with fact tables with billons of entries. My problem is that I can't get SQL server to make use the HW I have. Before anyone states the obvious, ofcourse I have looked for...

View Article

Log file Growth query

Hi All,Is there any query to increase the logfile growth to unlimited in SQL 2000 . Am unable to do that through GUI mode and getting some transaction error. Please suggest me any query.Thanks &...

View Article

What is your approach when Restore Job fails in Log Shipping

Regards

View Article


Error chain starting with write failure (error 655) during a DBCC CHECKDB...

Hello,We experienced the following error chain (extracted from the SQL Server logs) that ultimately caused our instance to restart and fail over one of our primary AGs, causing us unexpected (albeit...

View Article


There is insufficient system memory to run this query Error: 701, Severity:...

SQL 2005 SP3 64bit, 48GB of memory, I have min memory=0 max memory=40GB, mem per query 1024KB, AWE is off. I am only getting this error when I run a query that creates a few namespaces. Any ideas on...

View Article

Restored master not restored msdb now have error

Some time ago I have server failure and have restored master databases and all user databases. I have not restored msdb database. The msdb database is default after clean install of a server.  Now I...

View Article

SQL Agent - what are some best practices with regards to job history, logging...

What are some common good ways to handle capturing error information.  The error will likely get written in the job history, but if a server is running several busy jobs, your job history might get...

View Article

TempDB data file

Hi,Tempdb data file size shows 50,200GB. In database properties, it shows free space 50,000GB. I want to reduce tempdb datafile size. I tried this option:In database properties, changed initial size to...

View Article


ALTER INDEX (with REBUILD), if run several times both decreases and increases...

ALTER INDEX (with REBUILD), if run several times both decreases and increases the average fragmentation for the non-clustered index.  I would expect the average fragmentation to be 0 after the first...

View Article

Message Error: 18210, Severity: 16, State: 1. and Message Error: 3041,...

i have back failure errors in the sql server logswhen i check maintenance plans history it shows back up ran successfully.I also see the backup files at the destination disk drive and there is lot of...

View Article


SQL Agent - alerts section of job properties, why there?

I use the notifications area of a jobs properties for sending email upon a job failure, but what is the "Alerts" section for?  It seems like this is more for server-level events, instead of those...

View Article

Image may be NSFW.
Clik here to view.

Reclaiming space available

I have a database that I ran compression on and if you look at the picture it shows SIZE 401407.04MB and Space Available as 210142.89MB. I am trying to free up that space but nothing has worked yet. I...

View Article


How to reduce the available space on the db

 Hi, My current database size is 300 GB and available space shows 90 GB.I want to reduce available space of the db and return some space to the drive for different purpose.I tried dbcc shrink db which...

View Article

Net start vs Single user mode

Hi,Could anyone shed light on the significance of starting the SQL Server on net start and starting the SQL on Single user mode. On what occasions should we use each of these? Any detailed explanation...

View Article

DBCC CHECKDB (master): error 2570 in sys.sysbinobjs

Dear experts,After running the DBCC checkdb against master databas with DATA_PURITY argument, we recieved the error 2570 in sys.sysbinobjs. The complete output is the below (it's in spanish but you'll...

View Article
Browsing all 12554 articles
Browse latest View live