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

How to Read a SysObjects -Layout and syntax

Does anyone know how to read the general format of this page and what it means? Please see the following...

View Article


Unable to login into SQL Server with both SQL & Windows Mode of Authentication

Last time there was deadlock while executing a job on my SQL Server.The instance hung for a long time and did not respond in time.Found in Windows Task Manager that one of the SQL process is occupying...

View Article


Image may be NSFW.
Clik here to view.

SQL server 2008r2 - memory issue

Hi all,I am having an issue with memory in SQL server 2008R2 as follow.You can see my config as image below. The server memory is 34G and I set Maximum server memory of SQL server = 24G.The server...

View Article

Problem to create database after Drop

Hi,I need to create automatically a lot of databases but sometimes I get errors. So, I drop the database and try to recreate them but, when I try to recreate them, SQL Server says : "impossible,...

View Article

SQL Server Communication Issues

I have a VMWare machine running MS SQL Server 2008 STD and for some reason it keep dropping communications to my shop floor application every night at 12:07 AM. This outage lasts 4 to 5 seconds and...

View Article


Cannot Shrink the tempdb Mdf

Hi I have a serious problem here. I have a production SQL 2005. Tempdb has grown  80 GB when I was doing the important operation in one of the tables in a database in this machine. Now everything...

View Article

SQL Server Management Studio 2012 -- location of the table property "Lock...

I was trying to find the table property called "Lock Escalation" in SSMS 2012 described in:http://technet.microsoft.com/en-us/library/ms188469.aspxAfter much time searching I realized this is a...

View Article

sql agent job cmdexec step with robocopy

I have below code in sql agent job step of type cmdexec . This step is supposed to copy a file using robocopy and based on the return code apply the if logic to return 0 .My issue: robocopy step is...

View Article


How to get rid of _WA_sys statistics ?

Hi,  I am on SQL 2008.  On one of our main databases, Auto Create statistics is set to True. On certain tables, we have _WA_sys statistics generated on many columns. Many of those columns are part of...

View Article


Image may be NSFW.
Clik here to view.

SQL Server 2014 setup media interrupted

Error Message:F:\SqlSetupBootstrapper.dll is either not designed to run on Windows or it contains an error. Try installing the program again using the original installation media or contact your system...

View Article

Log File Issue In SQL server 2005 standard Edition

We have database of size 375GB .The data file has 80 GB free space within .When trying to rebuild the index we had 450 GB free space on the disk where Log file is residing.The rebuild index activity...

View Article

Alert on Low disk space

Hi  All I have created an alert of WMI event in sql server  which send mail if disk space on D drive is less than 10GBQuery :-----------------------------------SELECT * from __InstanceModificationEvent...

View Article

Suppress Powershell Warning in agent job "WARNING: Could not obtain SQL...

HiI get this warning running through powershell_ise but through sql agent it just errors out.The code does everything it is supposed to and I tried everything to completely resolve the warning to no...

View Article


The operating system returned error 170(The requested resource is in use)

Hello Experts,We have a Sharepoint farm where we are receiving OS Error 170 for many days. It results in database shutdown/Start because required transaction file is not available.The operating system...

View Article

Performance problem with more than one COUNT(DISTINCT ...) in a query

Hi,(I hope this is the good forum).In the following query, I have 2 Count Distinct on 2 different fields of the same table.  Execution time is okay (2 s) with one or the other COUNT(DISCTINCT ...) in...

View Article


Run a SQL procedure with multi database querying from Excel

I'm using SQL Server 2008 Enterprise. I created a procedure in one database. The procedure is composed of several queries to different databases and the final combined result set is being displayed. I...

View Article

slow sql server machine

Hello, We have a sql server machine with many databases. These databases are big and a few of the tables have millions of records. We also have mirroring setup so that the data gets mirrored into...

View Article


SQL Server 2008 R2 Migration to a New Hardware

Hello,I've a question on migration of cluster to a new hardware. Our currently hardware is out of date and our customer wants to do AS-IS migration to new hardware. The new hardware will have same...

View Article

Sql Sp Performance

hi,i have a procedure it will featch 8500 records and it will take time 00:00:23 secs .How to improve the performance to complete with in less duration.Please let me know.

View Article

Image may be NSFW.
Clik here to view.

money datatype is 19 bytes?

Hi allbooks online states that money datatype is 8 bytes long, but I can't understand why, when I create an index I see 19 bytes al length of money colums:

View Article
Browsing all 12963 articles
Browse latest View live


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