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

Is "lost update" possible in SQL Server?

hi all,is "lost update" possible in SQL Server? if so, under what isolation level? i am just having difficulty understanding SQL Server would allow lost updates.is there a way i can produce this...

View Article


How many times does a SQL job run if it is set to run twice a day and it...

Hi,I have a SQL job set to run twice a day. However, the time taken for the job to run each time is 13 hours. In such a case, can you please let me know the number of times the job will run?Thanks in...

View Article


Windows Server Failover Clustering (WSFC)

Can I add notes to a Windows Server Failover Clustering (WSFC) with different operating systems? For instance, one node is Windows 2008 R2, and other nodes is Windows 2012.Thanks,Lijun

View Article

Statistics and Cardinality Estimation

Hi,1) In some circumstances , while statistics are up to date we still see difference between Estimated number of records and the Actual one in an execution plan.Why this difference exists?  2) When...

View Article

Some update lock issues

Can you kindly give me some examples such as:1, when the page needs the U lock?2, When the table needs the U lock?3,When the table\page need the UIX ?It's better if you can provide the T-SQL Script to...

View Article


What's the difference between IPSec and SQL Encrypt Connection

Good afternoon,I'm currently struggling to decide the best approach to take with regard to encrypting SQL connections.I've been looking at Encrypting Connections to SQL Server using SSL and configuring...

View Article

Dynamic column support in Bulk Load

Hi, Is there any solution for the following scenario in bulk insert. "The csv file which is going to get processed for a particular table will change its column order periodically , and sometimes some...

View Article

After mapping login to user its not Reflecting.

Hi Experts,i have a scenario that i have created the one login 'ABC' and mapped to all dbs in server with Read write permittions,But when i check with ABC login i am not able to see the mapped...

View Article


Auto update stats disabled for a user Database in Sql server

While trying to improve the performance of few queries, we found via execution plan that there were lot of Index/Clustered index seeks. Therefore: First thing we did, was to check our Re-indexing and...

View Article


Script to change Collation settings on specific objects and columns on...

I am getting error when I tried to alter collation on some specific tables. ALTER TABLE [abcd] ALTER COLUMN [abc] varchar(255) COLLATE SQL_Latin1_General_CP1_CS_AS NULLMsg 5074, Level 16, State 1, Line...

View Article

Image may be NSFW.
Clik here to view.

what the means Mode '0-null'

I run the  T-SQL below , and saw 0-null ,what the means? why SQL need them?update  [dbo].[Table_1] set C2='44'  where [C1]='A4' Please click the Mark as Answer button if a post solves your problem!

View Article

SQLSERVER 2012 LOG SIZE INCREASE EXTENSIVELY

Hi Friends, I want to inquire, as our sqlserver 2012 in full  recovery mode , I notices whenever we are executing rebuild indexes maintenancejob the logfile grown up extensively every time.  h thank...

View Article

Cannot start SQL Server Service (SQLEXPRESS).

Cannot start SQL Server (SQLEXPRESS). When i tried to start the SQL Server Services, the warning: This request failed or the service did not respond in a timely fashion. Consult the event log or other...

View Article


Database maintenance plan with Always on

Hi,I have set-up SQL Always on availability for our our new system database environment. I am not sure what should be the database maintenance plan for this environment as I think we already have a...

View Article

how to transfer the logins from one instance to another instance in sql2008r2

how to transfer the logins from one instance to another instance in sql2008r2

View Article


Update SQL Server 2008 R2 CLUSTER To SP1 With TFS 2010

Hi,I have Cluster SQL Server 2008 R2 configured to store  Team Foundation Server 2010 DBsI want to Update this Cluster to SP1 to support Sharepoint DBs So i want to see if this update can impact my TFS...

View Article

SQL 2012 not using all available memory on Server

Hi,I have SQL 2012 [64bit] standard edition deployed on Windows 2008 r2 with 8GB RAM. Currently the memory consumption is around half of what's available. SQL server is not using full memory provided....

View Article


Error: Process generated fatal exception c0000005 EXCEPTION_ACCESS_VIOLATION

Hi all,I got the error "Process <spid> generated fatal exception c0000005 EXCEPTION_ACCESS_VIOLATION. SQL Server is terminating this process." on SQL Server 2014 Standard and I found below link...

View Article

Need guidance to prevent database corruption

I have developed a software using C# (.Net 4.0) and SQLExpress 2008 Edition. The problem I am facing is that the database is corrupted too frequently. I need guidance why the database is corrupted and...

View Article

How to extract a tagged string using XML in sql server 2014?

A column stores the string data with tag as below.I have to retrieve the value of ATRB_C1 as val1234 through xml Query: CREATE TABLE #test (col varchar(500)) INSERT INTO #test VALUES('< ATRB_C value...

View Article
Browsing all 5123 articles
Browse latest View live


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