Quantcast
Channel: Fórum SQL Server Database Engine
Browsing all 15680 articles
Browse latest View live

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


2012 sql cluster / maintenance job - update statis is slow

2012 sql cluster when using maintenance plan for update stats, it takes about 10 minutes. When using script from the plan, it takes a second. No error. Any checking that we should do? Thanks,

View Article


sql server performance report

Hi Everyone,I got a SQL Server 2k5 instance. Now I want to get some performance report including the average memory usage, average CPU usage, active connections on a weekly basis. Is it possible to...

View Article

sp_send_dbmail problem

I am trying to send an email with the results in the body of the message.  Below is the code and below that is the error. DECLARE @mailprofile VARCHAR(200) declare @query nvarchar(max)  SET @query =...

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


Exception happened when running extended stored procedure 'xp_delete_file' in...

I have gone through the related posts. However not found the answer to this problem.Environment: -  OS Version: - 2003 R2 (SP2) 64 Bit SQL version: - Microsoft SQL Server 2008 (SP3) - 10.0.5788.0 (X64)...

View Article

Table Scan even when Clustered Index is already present?

Is there a scenario where engine uses Table Scan instead of Clustered Index already present? Or engine always uses Clustered Index when present? Thanks -Indigo.IN

View Article

SnapManager for SQL Backups

Hi Folks:Is any one configured SnapManager for SQL Server backups in virtual enviornments.If yes: Please let us know the Advantages and Dis-advantages of this.Thanks for your help...!Satish...

View Article


Cursor in userdefined function

Hi All,Please help me this is a urgent requestI have a oracle function that has been created now i wanted that to be created in sqlserver. Can u pelase suggest me any link or script where i can use the...

View Article


Msg 6522, Level 16, State 1, Procedure sp_printstatement, Line 0

Hello. we got a problem after patching our Windows server 2008R2 on which SQL 2012 cluster is built. when we run sp_browsereplcmds it gives following message. when SQL server on unpatched node, there...

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

Regarding the Batch file running the stored proc to backup the Databases

Hello,I have a SQL Server 2008 R2 Express edition.I created a batch file at c:\SQLServer\Backups . This Batch file contains the Stored procedure which takes the Backup of all the Databases and places...

View Article

Multiple Partition on one Filegroup in SQL Server 2008

Hi Experts,My business requires to create the filegroup year base and partition on quarter base which resides in that year base filegroup.Ex: 2010 (FG) --> Q1,Q2,Q3,Q4 (Partitions).I google it but...

View Article


DB Server Freezing!!

Dear Gurus, I am not even able to log in to the SQL Server machine!! Any ideas why that happens? Any way to find out more details when the machine lets me back in? Do you think it is the machine or the...

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


Windows Azure Table Service Signature Access From Program

Hi, Am trying to access the GET Query Tables operation in Windows Azure through Rest API from Objective C. Am getting a 403 Forbidden error. Am suspecting the issue might be with the format of the...

View Article

Sequence Object Duplicate Values

Has anyone had an issue with getting duplicate values from a sequence object?We are using SQL Server 2012 SP1 and ran into an issue this weekend. We had patches applied to our SQL Server server and it...

View Article


Local temp table created inside stored procedure does not drop automatically...

Here I just want to play with local temp table behavior inside a stored procedure. I still create and drop temp table inside the same proc.Below is the sample...

View Article

SQL Server management studio is not showing the entire data

Hi Team,There is varchar(max) column in a table when i do select on that column in management studio it is not showing entire data it is only showing 4000 characters. How to enable to show the entire...

View Article

Start with Connect by prior

Hi All,Can anyone please help me in making this oracle sequel statement into Sql Server. select name  from (select id, info_id        from wp_tasks        start with id = task_id        connect by...

View Article
Browsing all 15680 articles
Browse latest View live


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