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

Unable to kill SPID 76!!

I run a KILL 76 command and the SPID 76 is still there!!Any ideas on this? Immediate answer needed!!ebro

View Article


CPUs, parallelism, and threads

I am using SQL Server 2008 hosted on Windows Server 2008R2 – 64bit. Our system has four CPUs. I have the following questions about CPUS in relation to parallelism and threads.In parallel execution does...

View Article


SQL Server quit unexpectantly after system date on server was changed to a...

We have a .NET application that stopped working. After investigation, we discovered that the system date on the server had been changeed to 2003 instead of the current 2013. After correcting the date,...

View Article

BCP exporting from SQL to CSV

Steps in BCP exporting DATA from SQL to CSV. I want to just export selecting and filtering the selection.....like I want to export SELECT * FROM DBO.TABLE WHERE ID BETWEEN 1 AND 100How do I do that?ebro

View Article

find Currently session that is costing high cpu

when sql server is 100% sqlserv service, what is the easy way to find what session/query is contributing the high cpu usage. There are a few queries on msdn for top cpu usage, but it is for last a few...

View Article


PowerShell script to delete BAKs from mulitple child folders on a UNC share

Afternoon,I have been trying to roll my own ps script to accomplish a cleanup task but I am rather new to ps and am not getting the results I am needing.Here are the criteria I am shooting for:1....

View Article

SQL Server 2008 R2 - JOB has been scheduled but not running on time

I have 3 jobs scheduled to run on SQL Server at 10:00PM , 10:05PM and 10:10PM daily. They are scheduled with service account [sa] and the password has not been expired. It ran fine for couple of days...

View Article

SQL server 2005 x64

Hello everybody. I need iso file of SQL server 2005 x64 trial version. In my company, we have 3 instances of sql server 2005 x64, but no install media. Now my boss wants to install a 4th instance, but...

View Article


Performance issues with change tracking

HI ,We ahve change tracking enabled on one of our server an year back (SQL Server 2008 + SP1), we are seeing the "'sys.syscommittab'" is 50 GB in size and anything running on that instance is very slow...

View Article


Are you very knowledgeable about SQL Server Database Engine? Win love and...

TechNet Wiki is looking for and celebrating the best of the best!Is that you? Do you consider yourself an expert, authority, or just pretty good at this technology?Show us your forum solutions and...

View Article

Help tracking down T-SQL changes needed to up compatibility level

I have a set of databases with several hundred SPs.  They were originally on SQL 2000 and are now running on SQL 2008 R2,  with compatibility mode 80.Since going to 2012 is only a matter of time and 80...

View Article

How to migrate extended store procedure 64x DLL from SQL 2005 to SQL 2008 R2 ?

Hi! all,I need to migrate a database with extended store procedures from SQL 2005 64 bit EE to SQL Server 2008 R2 EE, the targuet os is Windows 2008 R2 EE.I went trought the...

View Article

IP addresse blocked for a specific database in the same named instance.

Hello, Please can you help me? I have a big problem with SQL server 2012 installed on the windows server 2012 : I have three Databases on a named instance 192.168.1.1\BIOUGNACH2012SP1 and some time the...

View Article


Powershell invoke-sqlcmd calls stored procedure second time after Query...

We have a very strange issue. We have noticed that a single stored procedure is executed twice when is called by Powershell invoke-sqlcmd command.When we trace it we can see the procedure starts...

View Article

Data Type for a REPLACE statement

Hi,May I know what is the data type of this query after REPLACE is applied? Date or string? declare @date as datetime2(0) set @date = '2013-10-13 23:54:02.32365' print replace(convert(date, @date,...

View Article


Convert a datetime to YYYYMMDD

Hi,Is there a way to convert a date (e.g. 2013-10-13) to int ( 20131013) without converting the date to varchar first and then to int?cherriesh

View Article

SPpolicy_purge_history Jobs in progress for more than 9 hours. How to kill...

Dear All,I open the Job history and found that sppolicy_purge_history job was in progress for more than 9 hours and still its in progress. I stop the job but it still in progress.The step 3 is not able...

View Article


How to call a sql server stored procedure

Hi, I have a stored procedure parameters are emp_no, avgsal.numberi have data in a table.my request is take emp_no from table and pass parameter to procedure .For this one i want create a procedure and...

View Article

unincremental table and its query with incremental tables

Hallo i am total New to ms sql And i have been giving an assignment to Create a Database with 4 tables and After then Create an App.  for Users, which i did´with MS Access. One of this tables is like...

View Article

SQL Srever multiple instance on same server

Hi Everyone, To  maintan multiple version of sql server I have intalled sql server 2005/2008 R2 and sql server 2012 on same developement server. When I am opening any of the SSMS (2005/2008 r2/2012)...

View Article
Browsing all 12963 articles
Browse latest View live