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

Could not complete cursor operation because the set options have changed...

I get this error :Could not complete cursor operation because the set options have changed since the cursor was declared. [SQLSTATE 42000] (Error 16958).  The step failed. by running my storage...

View Article


CPU occupies 100 percentage on sql server

Hi All,If sql server is consuming 100% cpu, generally the sever is responding slow so how can we trouble shoot? some times on my server cpu consumig 100% so i want to resolve this issue, incase if...

View Article


QUOTED_IDENTIFIER is a parse time setting but what if there are two in the...

BOL for this setting (2005-2012) hasn't changed.  It says it is a parse time setting which happens before any lines are executed.SET QUOTED_IDENTIFIER OFF; DBCC useroptions EXEC(" IF EXISTS (SELECT *...

View Article

Restricting the SQL Server license usage

Dear,I have built a time-log application for my internal teams. This application has an ASP.NET web service on server and a mobile phone client (html / js). The web service is connected to an MS SQL...

View Article

Map temporary objects of temdb to sessions

Hi All,Does anyone know where stores SQL Server tempdb object list. From this list you can determine which temporary object belongs to which session. tempdb.sys.objectsor tempdb.sys.sysobjects have two...

View Article


Getting Min / Max LSN for CDC Table Instance for given date in SQL Server 2012

Am trying to get the net changes on CDC enabled table by passing Min and Max dates.  But is throwing below error.    Msg 313, Level 16, State 3, Line 24    An insufficient number of arguments were...

View Article

Image may be NSFW.
Clik here to view.

Insert bulk with TABLOCK hint is causing deadlock

Hi,We are running a application that inserts rows via INSERT BULKinsert bulk ByltRow ([ByltId] BigInt, [ByesRoundId] Int, [ByesSequenceId] Int, [Loss] Float) with (TABLOCK)I have up to 10 app servers...

View Article

sqlagent -c -v parameters.

What the use of -c -v parameters in starting sqlagentsqlagent90.exe -c -vManish

View Article


Restore database issue

Hi all,I am trying restore  on sql server 2008 databse with sql server 2005 database backup with standby recory.But i got error while restoring.The error is discribing following."The backup can not be...

View Article


(type LOB data) with (type In-row data)

I have a couple of errors while running DBCC CHECKDBMsg 8965, Level 16, State 1, Line 1Table error: Object ID 530100929, index ID 1, partition ID 72057594062962688, alloc unit ID 72057594047168512...

View Article

SQL 2012 Design Advice

I'm currently a sysadmin who's been given a database consolidation project. I have a plethora of small databases (the vast majority are under 10GB, with a handful between 30 & 100GB). Most of the...

View Article

Cannot connect to the server issue

Hi folks.  I'm having a problem with my SQL Server.  I had the Express version up and running for class, then ran into an exercise that needed Enterprise.  Now that I have Enterprise downloaded and...

View Article

Reg data partition

Greetings,I'm new to SQL Server, I was studying about table partition, I am not able to understand how the left and right functions work, I went through many sites but not clear. Also when defining a...

View Article


Cannot read SQL Server 2008 database ,it is version 661. This server supports...

used to have sql 2005 then i uninstall it , and install sql 2008 now Im trying to open a visual studio project , when i want to open the DB included withi get :Timeout expired.  The timeout period...

View Article

Best initial size of database files on SSDs for data warehousing

Hi.I actually do my first implementation of a SQL Server DWH based on SSDs and our admin ask me to reduce the initial file size because of the behavior of the SSDs. With normal harddrives I setup the...

View Article


Image may be NSFW.
Clik here to view.

Cardinality estimates on a parallel join are wrong

Hello everybody,I'm having a problem with pretty simple query where the cardinality estimates seems to be off and usual methods that I knew for this kind of problem don't help.The query: SELECT...

View Article

When do #temp and @temp tables cause recompiles?

In olden days any temp table creation would cause a recompile of the entire SP.However, I found that was already not the case even as early as SQL 2000, and I'm wondering what is the case in SQL 2008...

View Article


SQL Server Memory

 Hi, I m trying to get memory usage on one of our Database servers. SQL Server 2008 R2 (64 bit), 130 GB memory (112 GB assigned to SQL), 8*4 processor core. Only SQL Server running on the boxI got...

View Article

Is there any reference sites or configuration to run SQL DB in PCI-E flash...

 Hi experts,  I run our SAP/SQL in HP EVA 8400 now but the MA will be expired soon. I plan to migrate to an ex: P7400 mid-range storage.  However, a consultant give me a very interesting idea. Our...

View Article

Image may be NSFW.
Clik here to view.

Is there bug with cdc.fn_cdc_get_net_changes_.... in SQL Server 2012

I was pretty much following MSDN to get net changes for the CDC enabled table for given date; refer to my earlier question, but was not able to figure what the error was.Here is sample script to...

View Article
Browsing all 15694 articles
Browse latest View live


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