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

Drop Clustered Index when there's no other index's taking a long time.

Hi All,I'm testing the time it takes to Drop Clustered Index when there's no other index's and see that this operation still takes quite a while. The table I'm working with has 500M records and no...

View Article


Txn log is not clearing in SIMPLE

Hi,I tried to repro a scenario for log-clearing the log in SIMPLE recovery model. I know if there is an ACTIVE TXN, and if we issue a CHECKPOINT in SIMPLE recovery model, nothing happens i.e. 0 VLFs...

View Article


Question on disk layout on SAN

One question where I would be needing your Inputs. Environment information:Windows 2008 R2.SQL Server 2008 R2. Table partitioning is not possible for a better layout.  This is regarding the drive...

View Article

Linked Server error: Login Failed for user 'NT AUTHORITY\ANONYMOUS LOGON'

Good afternoon,I have the following issue that i can't seem to "fix":I have 2 instances: Instance A (primary databases for my application) and Instance B (relational databases for Reporting...

View Article

Copy Data Between Two Servers (Prod - Dev)

Hi, can someone let me know the best way to copy the data betweens two diffrent servers (prod - dev). i have a table which has like 50000 rows on dev server, based on a column called symbol and...

View Article


Linked Server on top of Likned Server

Hi All,I have a linked server setup on SERVER-A to pull data from our OLTP server using an OLEDB provider and it works fine. The OLEDB provider am using for linked server is only available in 32 bit...

View Article

sql server 2012 will not connect

hi, I recently installed the 180 day evaluation flavor of SQL Server 2012 and everything was running fine until I re-booted the Windows 7 'server'.  Now every time I attempt to reconnect the server...

View Article

How to restore database from SQL server 2000 to SQL server 2012 version

How to restore database from SQL server 2000 to SQL server 2012 version

View Article


Msg 8624, Level 16, State 1, Procedure broadcast_item_delete, Line 39...

I have a very simple procedure which is crashing with this error. we are using sql2008. the FK to table rashim_titles is causing the problem as when I drop the FK it worksthe crashing statement:exec...

View Article


SQL Server 2012 Crashed

I restarted my computer after a query execution and the MSSQLSERVER service keeps Starting or Change pending... Status (the first one in Services and the Second in SQL Server Configuration Manager)I...

View Article

SQL Server 2012 have more than 600000 active tasks

select task_state,count(*) from sys.dm_os_tasks group by task_stateI ran the above statement on a SQL Server instance, and found it had about 633,000 records.Our server version is 11.0.3000.task_state...

View Article

Problem with backup MS SQL 2008 when database has 2 or mare logs

 Hello!I have database, that has 2 ldf. I try to do backup log via a program  that uses ODBC Driver (SQL Server Native Client 10.0 ODBC ).  But the backup file is not created. And application doesn't...

View Article

SQL server, Error:18456

I am trying to delete old jobs and maintainance plans I get the following error: SQL server, Error:18456-Rick- This message was created using recycled electrons...

View Article


execute query

Hi all,How can you get an execution plan for a query on a server when you don’t want to run that query on that server (i.e. a production server)?

View Article

SQL 2012 Update Statistics Maintenance Plan

 Hi AllIs anyone aware of any issues on SQL 2012 regarding maintenance plans for update statistics.I have migrated a system to SQL 2012 from SQL 2008, I created a maintenance plan to update all stats...

View Article


Image may be NSFW.
Clik here to view.

unable to create the user database...

hi team,we are unable to create the user database, we are greeting the bellow error.

View Article

Detect Windows server memory from SQL Server SSMS

HelloIs there a way to detect what is the memory on a particular server by querying from SSMS? I am not looking for 'max server memory' of SQL, but trying to find out if there is a way to find out what...

View Article


ERROR : Execution of Sql exceeded threshold

hi there:  One store procedure on the application was failed and the error message was below:Execution of Sql exceeded threshold.Does anyone know how to configure the threshold on the server...

View Article

Columnstore index improvements in SQL Server 2014 CPT1 added to SQL Server 2012?

Will the Columnstore index improvements featured in SQL Server 2014 CPT1 be added as a service pack to SQL Server 2012? Specifically the batch mode improvements. We just recently upgraded to SQL Server...

View Article

RestoreDatabase Failed

Hi,I am getting below problem while restoring the AdventureWorksDW(2008 R2 Version) to 2012TITLE: Microsoft SQL Server Management Studio ------------------------------ Restore of database...

View Article
Browsing all 15264 articles
Browse latest View live


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