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

SQL Express 2008 r2 sp2 out of memory bug!

I have one query with 21072 individual update statements in SSMS. I am using sql express r2 sp2. I am updating only one varchar(255) text field with short strings < 100 chars. I only get partway...

View Article


Reset primary key value in sql server table

Solutions :-        DBCC CHECKIDENT('Enter Your Table Name', RESEED, 0)Hope this Help...

View Article


SQL server 2012 support for OWL

Does SQL server 2012 has support for OWL (W3C standard), RDF data model, etc like other DBMS - MySQL, Postgresql?

View Article

When I am running this below index rebuild it is increasing transaction log...

When I running this below index rebuild it is increasing transaction log size so much ...while actually reorganize incraeses the space...USE [xyz] GO ALTER INDEX [PK_Applications] ON...

View Article

Tracking a user through connection pool in Profiler

Currently all instances of our main app report an Appname of ".Net SqlClient Data Provider" and a LoginName of "XYZUser", and an NTUserName that is blank. This is a C# rich/smart app using WCF to talk...

View Article


sp_send_dbmail won't take @query SQL 2005 64bit

I am trying to send query results via email. The command works fine without the @query parameter but gets the following error with it. No query works, I tried several as well as a select, all result in...

View Article

SQL Server occasionally refuses new connections for short periods

I have an application that has been running for years.  Starting in early January, I've started seeing connection errors when simple queries run against the database.  This only happens to maybe one...

View Article

Who change policy

Hi,Our security team received alert regarding policy change on SQL Server computer. They don't know whether policy changed on windows server or Database server. Just computer name is given there. I...

View Article


Extended event timestamp bug still not fixed

I have SQL Server 2008R2 10.50 with SP1.When running a black box query I am still getting incorrect event timestamps.  Any idea how to get the correct timestamp in this query?Thanks.SELECT...

View Article


Powershell to import csv file

Hello all,Running sql 2008 sp1New to PowerShell. Can someone please check the syntax and tell me if something doesn't look right.Trying to load a csv file into a tableThe csv file is comma delimited...

View Article

Constraint to ensure at least one record is flagged

Hi,Is there a way to write a unique constraint/index on a table such that you can restrict a column to have a flag in at least one record in a table.An example table would be:ID             Category...

View Article

Getting most_recent_sql_handle from prior session?

Hi, We are migrating a COBOL-DATACOME application to .Net COBOL and SQL Server using MicroFocus.  I have been monitoring the queries via using DMVs and and traces.  I notice an odd thing once in a...

View Article

updating subscriber data based on condition

OS: W2K8 R2 SP1 SESQL Server: SS2K8 R2 SP1 SEIn transaction replication is there a way that I can restrict the updates specific only to a column?Lets say if updates occur on source table(publisher...

View Article


Extreme disk usage on SQL partition

Is it normal or safe for the X: SQLDATA Partition to sustain an Active time of 98 to 100 % and a disk queue length of from 4 to 500 when no one is logged into GP?Cluster info: HQ-erp has 2 applications...

View Article

What fraction of SQL installations are in use by major version, e.g. 7.0,...

Does anyone have any idea of the current fractions of installations by major version, e.g. 7.0 and earlier, 2000, 2005, 2008, 2008R2, and 2012? It would be useful to know how far back we should...

View Article


Application server patching

Hi All,My application team is now in the process of applying patches to the application server.         ComponentCurrent Patch level application serverUpdate Patch level on Database serverMicrosoft...

View Article

SQL Server 2005 hangs twice/day with continuous stack dumps

MS SQL Server Enterprise Edition (64-bit) v9.00.1399.06 MS Windows NT 5.2 (3790) 14334 MB RAM 8 CPU Not clustered serves MS SharePoint 2007 instanceMy SharePoint goes down twice a day due to SQL Server...

View Article


Uninstall default instance of sql server 2008 R2

Hi,I am trying to uninstall sql server 2008 r2 default instance. I cannot see any sql server related thing in add/remove program. But sql server database engine, agent services are running for default...

View Article

DTA not consuming workload

Hi everyoneI have run an all day trace on one of our production servers and have attempted to run the trace files through the database tuning advisor.  After the workload has been processed by the DTA...

View Article

Login failed for user 'Domain\passive node server$'. Reason: Token-based...

 We have a active passive nodes and we are getting bellow error message every 1 min in error logs.This is error occurring from last 10 days on words. It was good before and nothing changes happened....

View Article
Browsing all 15930 articles
Browse latest View live


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