Quantcast
Channel: Forum SQL Server Database Engine
Browsing all 15889 articles
Browse latest View live

DB Maintenance Plan - Optimization

The following is the DB Maintenance Plan and the configurations provided the production environment:Reorganize data and index page (selected)Change free space per page percentage to: 10%  Remove unused...

View Article


Performance of different INSERT styles

Hi all,What is difference between these two styles of TSQL code:WHILE 1...to...1000BEGININSERT ... VALUES(...)END----------------------BEGIN TRANWHILE 1...to...1000BEGININSERT ... VALUES(...)ENDCOMMIT...

View Article


Image may be NSFW.
Clik here to view.

Is this the right forum for questions about Change Tracking?

Is this the right forum for questions about Change Tracking, or should I post my question in "SQL Server Master Data Services" or another forum?

View Article

How to use GROUP BY in SQL Server 2008R2

Hello,I am using SQL Server 2008R2.I would like to get the records which has MAX date GROUP BY "ProjectName". The query that i am using now is,select [ProjectName],MAX([Month]) from...

View Article

Does creating COLUMNSTORE index locks the table?

Hi everyone!Does creating COLUMNSTORE index locks the table while index is created?

View Article


ODBC32 connection fails to authenticate on SQL Server

I ran into a weird error message yesterday when trying to connect a workstation ODBC32 to the SQL Server using Native client 10.  See message below.  I can't tell if I am facing NAT/firewall issues or...

View Article

SQL Server 2008 R2 - Subscription Running Twice

Hi All,We are running SQL Server 2008 R2 SP2 and I have a problem with a subscription which is randomly running twice. Usually around 20 seconds after the first run. There is only a single SQL Agent...

View Article

BACKUP LOG cannot be performed because there is no current database backup.

Hi Guys,My database backup has recently started failing with a "BACKUP LOG cannot be performed because there is no current database backup." error message. Initially I thought this was a simple fix,...

View Article


SSMS 2005 - How to disable Intellisense if SQL isn't an installed language...

Hi, allRunning SSMS 2005 at present. I'm a touch-typist, and don't use Intellisense/"Auto List Members" in any of my development tools. Things like Visual Studio I can disable the choice by language....

View Article


Compatibility error restoring database created in 10.50.1600?

I'm trying to restore a backup, and the error displayed is "The database was backed up on a server running version 10.50.1600. That version is incompatible with this server, which is running version...

View Article

sp_send_dbmail fails when query uses linked server

I've seen this discussed in another thread however a solution was never found. This came up after we applied the SQL Server 2008 R2 SP2 patch to our DBMS which had previously been at 2008 R2 SP1. The...

View Article

batch size for insert into tab1 select * from tab2?

database is in simple recover mode, but as tab2 is very big, the log is still very big, is it possible to set a batchsize for the sql insert into tab1 select * from tab2.if we can, say set it to 1M,...

View Article

Transaction log not releasing the unused space while shrinking

HI All,I am trying shrink a log file.DDCC sqpperf(logspace) - showing below resultsDatabasename  Logsize(MB)  Logspaceused(%)ABCD                  301183.9      1.811704However i took a log backup and...

View Article


MVCC/read_committed_snapshot and tempdb

We're looking to implement MVCC/READ_COMMITED_SNAPSHOT in our high-transaction databases. We understand from documentation that this will require more tempdb space to manage the snapshots of the data...

View Article

Is Connection Pooling Affected By Multiple Application Names?

Need consultation for the next question...I have large n-tier buisiness application, working with database with Linq-To-Entities (EDM). Every one from several hundreds of my WCF-methods create own new...

View Article


Database backup without Replication objects (for schema comparison purpose)

I want to perform a schema comparison between an attached database and a backup. The backup comes from a replicated database. The comparison (database -> backup) result script generates delete of...

View Article

SQL Server Maximum Memory setting

SQL Server 2008 R2 Accidently set maximum server memory to 0 (ZERO). Now there is not enough memory in default resource pool to recitify. Heeelp!

View Article


SQL server agent restart itself

Recently we have two SQL servers 2008R2 (SP1) experiencing a random restart of SQL agent. We are sure no one restarted but it restarted by its own and runs fine ever since. By looking at the error log...

View Article

Linked server 2008r2 to 2008r2 collation mismatch "An invalid tabular data...

the server linking to the linked server is robm(SQL_Latin1_General_CP1_CI_AS) has a DB of views that link to -> bentleysql(Latin1_General_CI_AS)when I try to query I get Msg 4012, Level 16, State 1,...

View Article

linked server to mysql can show tables but not select from table

Hi everybody, I have a question about linked servers. my procedure is as follows: I want to select data from mysql database through a linked server, I use a stored procedure that takes a query as...

View Article
Browsing all 15889 articles
Browse latest View live


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