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

Error appears sometimes for functions and Stored Procedure

Hello,I have store Procedure which have some code and function contain in it.This seems quit surprising that this sp execute some time and return with result But with same data this cannot execute...

View Article


First-chance exception at 0x75c5b760 in devenv.exe: 0xE0434352: 0xe0434352.

I have a windows form application, when double click it or view designer it will show sql connection error. When I attach my project as a process, I saw the output window hasFirst chance exception at...

View Article


sql server agent cmdexec job reports failure even though it succeeds

Hello, not having any luck finding the answer to this.I have a batch file of a simple robocopy script to copy my backups at a remote share for backup to tape.  The job successfully copies all the files...

View Article

Undetected Deadlocks

Hi all,I've having problems on a SQL 2008 R2 (10.50.4266) Enterprise server, 32 cores and 512GB RAM. Since we installed the latest CU patches we have been getting a lot of undetected deadlocks. By this...

View Article

1._My database backup is compressed; I have taken backup WITH COMPRESS...

My database backup is compressed; I have taken backup WITH COMPRESS option. Is it required any additional activity while restoring this backup?Regards Vikas Pathak

View Article


what are all the ways to avoid cursors?

can we use temp tables insted of cursors or can we use subqueries? anyone tell me the way to avoid the cursors.

View Article

Big clustered index and randon inserts

Hi All,I have 2 dataservers, 1 on SQL 2000 and another on SQL 2008.On the SQL 2000 database, there is a table with 12 columns and a 4 column primary key with clustered index on it. There are hundreds...

View Article

SQL 2012 system table diagram

Where can I get a SQL 2012 system table diagram?Mohammed Sharif

View Article


how to identify and control single login with mutiple connection?

My current project has some issues with single login and mutiple connection, for example one of my  client login in my product and it opens 12 more connections. so how to identify what are all the...

View Article


how to find recent files initial size change in sql server 2008

Hi All,how to find recent files initial size change by whon and what time he did the change as weillin sql server 2008.thanks,SAAD.

View Article

What points should I raise to get atleast read only acces of servers?

We have Central SQL Server Maintenance plan server,but management don't want to give us the access of this server.What points should I raise to get atleast read only acces of servers?They are saying we...

View Article

Timeouts in Select Statements After Restore

We have issues with select statements timing out after a RESTORE operation. We restore a backup to a newly created database (called StagingDB). Then our application will start reading fairly small...

View Article

Receiving an error in the logs - 18059, Severity: 20, State: 1.

Hello, I'm using SQL Server 2008 Sp3Lately I'm having errors in the SQL Logs:Error: 18059, Severity: 20, State: 1. The connection has been dropped because the principal that opened it subsequently...

View Article


Where is my filetable directory???

I ran this code:CREATE TABLE FileTableTb AS FileTable WITH (FileTable_Directory = 'FileTableTb_Dir'); GOWhere on the file system was a directory created, if anywhere?

View Article

Overwriting file permissions when connecting to the database MS SQL Server...

I have issue: 1. There are database files and DB.mdf DB.ldf by user Everyone; 2. Login on the server with sa. DB connect to SQL Server 2008. User Everyone rewritten to:    SQLServerMSSQLUser $...

View Article


Rowmodctr in sysindexes

I see that Rowmodctr in sysindexes can be used to create our own threshold for manual update of statistics. But it seems that this can be only useful for indexed columns.What about the statistics for...

View Article

Log file shrunking

Hi All,This is a urgent request. we have sqlserver 2000 its old database. the log and data files filled the drive completely. what is the possible way .Should i shrunk the log file and what are the...

View Article


Upgrade from SQL 2008 to 2008R2

We have a SQL 2008 installation on a Windows 2008 machine. We are planning on upgrading to SQL 2008 R2. Would the installation be in place - meaning - the upgrade will not disturb any of the services...

View Article

Strange problem with statistics on view

I have a user that has a very strange problem with my index and statistics maintenance script. UPDATE STATISTICS [dbo].[_hypmv_1] [hind_1099919040_5A] gives Msg 2706, Level 16, State 7, Line 1 Table...

View Article

Server side trace running on 2005 version with DB on 2000 compatibility

Hi All, I have setup the Trace file in one of our Database server which is on 2005 with the filter of duration >5 seconds (5000000). but after few days i notice that it has captured only the Backup...

View Article
Browsing all 15930 articles
Browse latest View live


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