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

tempdb full

in a situation where tempdb is full - both data and log (meaning disk is full) - then what are the possible solutions :- find spid filling up tempdb and kill spid to free up space in tempdb - is this...

View Article


Sql Server Agent not starting automatically in failover in a clustered...

Hi,We are running Sql Server 2008 R2 as a 2 node cluster in Windows 2008 R2 server. In the Sql Server Configuration manager we find that service of the Sql Server(database engine) as got a start mode...

View Article


Snapshot NTFS Operating system error 665

WelcomeWindows 2008 R2 + SQL 2008 R2 SP2 CU132 days after creation of snapshot for database (650 GB in 10 files) file fragmentation (files with indexes) are so big that sql engine throws errors...

View Article

How to get database out of single user

HiSQL Server 2005. Had changed database to single user/read only option. Now I cant change database back to multi user and all commands are getting stuck.Msg 924, Level 14, State 1, Line 1 Database...

View Article

Partitioning and clusterindex

Hi Team,assume the table T, defined as T(a, b, c), is partitioned on columna, and has a clustered index on column b. How the table will be partitioned as clusterindex over a is different then...

View Article


Is there any way to get SQL Server Database growth Report for ALL SQL Servers...

Hi All,I have been facing a lot of isssues due to database growth. In need of a monitoring script.Is there any way to generate SQL Server database growth report for all SQL Servers in an environment...

View Article

Help with Extended Events Script (Filtering)

Hi ,I am testing extended events and I am stuck in the filtering part. I am using for following sample script.CREATE EVENT SESSION [Profiler_Extended] ON SERVER ADD EVENT sqlserver.rpc_completed (...

View Article

Central Management Server - One server in two groups

Windows Server 2008 R2 EnterpriseSQL Server 2012 EnterpriseThere are two groups under Central Management Server - Version and Department. For eg., server SQL01 belongs to group SQL Server 2012 and...

View Article


shrinking a SQL Server 2014 database - an experiment

I have read so much about the evils about shrinking SLQ Server databases, but here's our predicament.We have a DB that is used to support a message broker.  It may temporarily store up to 10-20 million...

View Article


REPLACE exact match in string

Hi,I am using SQL Server 2008 R2 Standard Edition. My question is:How to use the REPLACE function (or any other T-SQL function if you have a better suggestion than the REPLACE function) to replace...

View Article

How to change backup destination path to disk

Dear all,please help me as soon as possible. I'm new DBA, i was changed to backup destination from tape to drive and did backup of the database. After that i tried to change replace to tape the option...

View Article

Image may be NSFW.
Clik here to view.

SQL Server 2012 - RESOURCE MONITOR / PREEMPTIVE_XE_CALLBACKEXECUTE high CPU...

Hello,   We are currently in the process of migrating an existing clustered SQL Server 2008 R2 instance over to a clustered SQL Server 2012 instance as we phase out the Windows Server 2008 with SQL...

View Article

detach database

HiI want to detach a database, but by mistake i also checked Update statistics, now it is taking long time. Please suggest how can I cancel it, can i kill the update process.REgardsBilalBilal

View Article


restore with norecovery

if you have a mirror or logshipping setup where the secondary database is not recovered, so each time the tran log is applied, the rolledback transactions are not rolled back.and if in a DR failover...

View Article

Error while Taking SSAS database backup

Hi All,I am facing an weird error while taking the backup of SSAS database.I have created a job to take the backup of Analysis database and when i run it manually it runs but when i schedule it the job...

View Article


index - reorg/rebuild

in mssql, for the options to reorg or rebuild the indexes :1. does reorg or rebuild index require extra free space to the tune of 120% of the size of the table, in the database?2. does reorg only use...

View Article

Jobs on passive side of mirror

Hello,Have a problem I can't seem to find a definitive answer.  we have 2 SQL servers, 1 is the primary the other is a passive mirror.  Both have about 20 jobs running in agent, each which fire stored...

View Article


Problem Copy big Table sqlserver 2012

Hi Friends,Its 4th day I am trying to copy  table having 7 million record with text field  into same database (sqlserver 2012)  , but fail although I am using blade server with 256 Gb memory and...

View Article

Licencing SQL Server Per Core on Multiple Nodes with different CPU per Host

 Greetings, I would like to know what kind of licencing I should do in this architecture:Cluster with 4 NodesNode 1: 12 Cores;Node 2: 12 Cores;Node 3: 16 Cores;Node 4: 16 Cores;Having 4 Instances...

View Article

Image may be NSFW.
Clik here to view.

SQL Query

I use to many select command to solve this but this will reduce my system performancePlease give me the simplest way to solve this query. I can use provided query for simplest way to fetch...

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>