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

Best way to connect to SQL Server 2012

Hi all,very simple question: what is the best connection method to an instance of SQL Server 2012? ODBC? OLEDB? Other?

View Article


Deadlocks mitigated

We have a situation where we had an application that was receiving thousands of deadlocks up until last Monday. They suddenly mitigated. There were no changes to the application server nor the database...

View Article


how to convert this query into merge statement in sqlserver 2008 R2?

Hi ,i am facing this issue from last 3 days  actually the below query fulfilled my requrirement but this code is rejected by lead and asked to make it as merge statement.my actual query...

View Article

Using Hashbytes and inserting into a table

Hi All,I want to use hashbytes to generage a hash, and then insert into another table. I'm wondering what kind of definition to use when creating the table.Hashbytes will be used to generate a hash of...

View Article

lock question

we have a developer that thinks a program in one of his applications might be locking a table.   The application sometimes goes down for a bit.   Unfortunely, we usually hear about it after the...

View Article


Connection Licensing SS2008 STD Ed.

I have installed SS many times and have never indicated the number of concurrent connections or any licensing info, so I am under the impression that an installed SS2008 STD Ed instance will not refuse...

View Article

how to run a simple sql query - dumb question

I am new to SQL Server 2008 (the newest version we have).  We have been running SQL 2000 for a number of years and so my limited experience is with that version.  What my question is, is I am trying to...

View Article

SQL Server- Large Pages Use WITHOUT trace flag 834

I read Bob Ward's post on SQL server and Large Pages (http://blogs.msdn.com/b/psssql/archive/2009/06/05/sql-server-and-large-pages-explained.aspx).  He mentions that even without trace flag 834...

View Article


SQL Server 2008 Extended Event Predicate to target a specific stored procedure

Hi,Could I request for an example of using the extended events predicates to target a specific stored procedure?I am trying to gather as much information when a specific procedure errors or times...

View Article


In order for the new setting to take effect for max worker thread do we need...

I want to change the max worker thread value to 0 [as of now its >0] for few of my server and after setting up the value to 0, do I need to recycle sql services in order to new setting to take...

View Article

Getting many FlushCache messages in SQL Error log

Hello,Since few days ago I am getting several messages like the one below. Any idea what should I do?  FlushCache: cleaned up 6611 bufs with 6381 writes in 90940 ms (avoided 462 new dirty bufs) for db...

View Article

how to avoid the loss of users during backup and restore activity

Hi,I have a database with 100+users . If i restore the DB from some other environment, the entire Db is restored including the users. So my old 100+ users where not able to connect to the databases. Is...

View Article

Image may be NSFW.
Clik here to view.

sys.dm_os_wait_stats

Sometimes i had problem with slow working of sql server.After reading some article i find about running sys.dm_os_wait_stats. In my sql server i ran query select * fromsys.dm_os_wait_stats order by...

View Article


Queries and stored procedures running slowly.

Hi,I have noticed that AX performance seems pretty poor so ran a Profiler trace. From it I can see that some stored procedures are taking a long time to run. The below is an example. this particular sp...

View Article

Add language to FullText Semantic search

I've been reading about new Semantic Indexes in Sql 2012, and it seems like tailor-made for my needs.Unfortunately I hit the wall while trying to implement it in my project.The wall is content of...

View Article


error when Attach a Database in SQL Server ,,

hello to all of you ,,actually i get trouble when i attach Database in SQL Server 2008 ,,it display message with..  { TITLE: Microsoft SQL Server Management Studio ------------------------------ Attach...

View Article

Idle connections: problem or not?

SQL Server Version: SQL Server 2008 R2 SP2 Enterprise 64 bit on Windows 2008 Enterprise Avg Number of Active Connections: 5Avg Idle Connections:350Avg Batch Size/sec: 550I want to know that whether or...

View Article


Which is better for a clustered index Identity or a random Bigint column

Hi All,In a datawarehouse style table, I am wondering which one is better for the design of the table, an identity column which has no use for a query perspective. Or a column which is also unique, but...

View Article

SQL Server 2012 Domain Service Accounts

Hi,I am using virtual box and have created a VM for a Domain Controller, a SQL Server and Sharepoint. The DC is up and running fine. I have the SQL Server server itself added to the domain. The issue I...

View Article

blocked process report overhead?

Is there much over head associated with?1. Enabling the blocked process report in SQL 2008 (blocked process threshold set to 28 seconds)2. Running profiler trace against the blocked process event...

View Article
Browsing all 15872 articles
Browse latest View live


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