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

Loading IO stalls and wait type counters into table

Hi,I ran into strange issue on our sql server 2008r2 server. While running analysis of how fast our SAN is, I put together stored procedure that captures IO stalls and wait types counters (and some...

View Article


formula for calculating aggregate percentage and percenatge of gender

hi alli have a sp from which i get result columns  gender,percentage,studentcount,yearmy sp is like this..IF EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[usp_GetState]') AND type in...

View Article


How to update the identity_column value in sql server 2008

Hi Team,I have identity column based table. In the table i use insert the name as per the requirement and for ID i use to set the identity now i need to update the particular row id.when i use to...

View Article

Sync Framework SqlServer SqlServer

HiThe scenario is a server at the head office of a client which is a centralized database on a database SqlServer 2008 professional version and several peripheral sites where it is delocalized housed...

View Article

How to attached a sql server 2008 database on sql server 2005

Hi,I have a backup of database designed over sql server 2008. I need to attacched this on a machine where sql server 2005 is installed and I am getting the message while attaching the database."The...

View Article


Capture job of chnage data capture is failing

When I am performing DDL operation on my database the Capture job start failing with below error. I have created one Database trigger to log all DDL changes on another table that table belongs to other...

View Article

if i have the public rights on sql server can i able to change the sql log...

Hi All,I having public rights on sql server and I want to change the sql log location from old location to new location. can I do it with public rights ?Thanks,rup

View Article

Dirty Reads in Procedure

Hi All,Please Let me know which one is better in terms of performance:-1.If I am doing dirty Read many time in one procedure for example:- select column1 from table1 (nolock)where id = 52. Doing dirty...

View Article


Timeout error while reading and updating in batches in a single transaction

Problem:- In a transaction I do read and update to the database in batches. First batch it runs fine and for second batch it get hanged at sqlCommand.ExecuteReader(). The following is not my complete...

View Article


Cleaning out bad DateTime data in Staging Table

I am trying to remove bad data from a table.  The data is imported from flat files that is often dirty.  It is easy to spot this bad data from the column that has the date field.  The staging table...

View Article

SQL Server Transaction log corruption

Hi,I have a strange problem in one of the SQL 2012 SP1 database. Sometimes my transaction log file grow unexpectedly than the preallocated space and i had to shrink it back . I usually preallocate...

View Article

MEMORYCLERK_SQLOPTIMIZER (node n > 0) missing from DBCC MEMORYSTATUS

Last week during an event just like this one:...

View Article

dblog

How can i check dblog graficaly (GUI) in sql server 2005

View Article


Image may be NSFW.
Clik here to view.

DPM encountered a retryable VSS error | Found The VSS writer SqlServerWriter...

Hello,We have a DPM 2012 SP1 server which does the Hyper-V Machine backups daily. Recently, we noticed that one of the Hyper-V machine backup (SQL 2012 Server) started to fail due to the below error...

View Article

SQL Server 2008 on windows 8

Hi Experts,I want to install SQL Server 2008 Enterprise edition 32 bit on Windows 8 64 bit, I am not able to install the SQL, i tried to do in command prompt by using the below syntax but throws and...

View Article


Can't find out why my DB is that big

I've got a database which is 260 GB in size. Since I know the application behind the DB, I know the DB should never be that big. Even more, one night I noticed that the DB has increased 30 GB where no...

View Article

Best practices for batch processing without SSIS

Hi,The gist of this question is in general how should a C# client insert/update batches records using stored procedures. The ideas I can think of are:1) create 1 SP with a parameter of type XML, and...

View Article


The target,...

I had a following error when I start event session> The target, "CE79811F-1A80-40E1-8F5D-7445A3F375E7.package0.asynchronous_file_target", encountered a configuration error during initialization....

View Article

Cant start event sqlos.wait_info

After I create this event and I want start it, it throws a error. I create event with following code:create event session WaitTest on serveradd event sqlos.wait_info(WHERE sqlserver.session_id=61and...

View Article

sscm - port number

I have three instances running on my machine - two 2008 and one 2012.following the installations, only sscm of 2008 is present - I can't see sscm for the 2012 installation - is that normal? or was...

View Article
Browsing all 12844 articles
Browse latest View live


Latest Images

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