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

How to use auto increment with "nchar" data type

HelloI have a table that I want the value in one column to be generated automatically with "T-XXX" pattern which"XXX" is a number. Can Microsoft SQL Server do that?

View Article


Database Creation

Hi All,I was working with Microsoft SQL Server and all its BI services for about 5 years by now and got shocked with its strange behavious today.When I create a new database it is creating with all the...

View Article


View what queries have been run in SQL 2005

I've been asked to have a look at building an MI mart from a transactional DB.  The source Db is in SQL 2005. The transaction logs are showing that there are approx. 35-40 timeouts per day while the...

View Article

SQL Server Database Connectivity with Visual Studio 2012 - Help Needed

Hello,I am having Visual Studio 2012 and SQL Developer 4.0 installed on my system with Windows 8 - 64bitI want to shift a VS project with an SQL database connectivity to another new Laptop (above...

View Article

Derived table 'tablename' is not updatable because a column of the derived...

Hi Guys,I have a With CTE table expression ,this cte gets the value from startdate and enddateI need to insert this startdate and enddate into a table ,while inserting into table,i got the below...

View Article


Unexplained performance decrease

Hi,I am developing a Windows Forms app in C# using VS2012 and SQL Server 2008.  At some point in the dev process, I noticed performance slowing dramatically.  After a lot of analysis, I found...

View Article

How to isolate poor performance caused by NETWORK

Hi Friends,I would like to know a way to isolate sql server bad query performance is caused by NETWORK and not the sql server.Are there any specific tips and tricks in ssms, waitype of specific perfmon...

View Article

SQL Server Express 2012 Install fails Repeatedly

I have tried to install SQL Server 2012 Express with tools on my Windows 7 Home Premium system.  it has failed twice.  I then tried to install just the LocalDB version and that installation ran to...

View Article


What to look for in Execution plans ?

Hi Pals, Assuming the query execution is slow , I have collected the xml plan. What should I look for in the actual execution plan . What are the top 10 things I need to watch out for?I know this is a...

View Article


how optimize based on execution plan info ??

 dear all,I have a simple store procedure which make a field selection and based on it update a particular column.problem I have when executing this procedure and check the execution plan, I have a...

View Article

Why did I suddenly get a bad execution plan?

Greetings. 2008 R2, SP1.We've got a sproc  that runs all the time with sub second response. All of a sudden this morning the query started timing out at 30 seconds. We got the execution plan saved off,...

View Article

SQl Server Error:927 and Restoring

i have a problem with sharepoint database in SQL 2005.status of tow database in sql studio mamagment are restoring...how can i stop that? (change status to normal)AND SO :WHEN I GET A PROPERTISE OF...

View Article

DB connection error

Hi,We are geeting below error."Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool...

View Article


Model database corruption in sql server.

hi,in one of my priduction server "MODEL" database corrupted in sql server, while i am trying to connecting to sql server we are your unable to connecting the sql server model db has been corrupted...

View Article

hOW TO CREATE WINDOWS AUTHENTICATION USER IN SQL SERVER AFTER INSTALLING SQL...

I had an error while executing asp.net appcation from IIS as followsLogin failed for user 'IIS APPPOOL\ASP.NET v4.0'.Description:An unhandled exception occurred during the execution of the current web...

View Article


Image may be NSFW.
Clik here to view.

SQl server failover cluster : Rule "Cluster shared disk available check" failed"

Good day,While trying to install an sql cluster on " VM-Ware" Work station am getting this error. Can someone please post steps on how tgo create this. ive read alot of KBs and all of them didnt...

View Article

Restoring and verifying of Master database in SQL SERVER MANAGEMENT STUDIO

I was doing a master database backup on a single user mode. After I'm done, I did a restore for it also in single user mode. When I execute the query statement, it is stated that"The master database...

View Article


Meaning of "Index Fragmentation" return for HEAP tables....?

I use this query to analyze index fragmentation. I applied it to and old DB and it returned several tables meeting the criteria but with IndexType = HEAP. As a HEAP has no index what, in this case, is...

View Article

SQL Server 2000 db corruption and tools.

Hi!The databse corruption hit our sql server 2000, 200 Gb database.The dbcc check database never finish the scan, it goes sleep.We have backups but we don't know an ok database because the dbcc checkdb...

View Article

how to resolve rollback suspended

i  use  merge script to update three million data.    it didn't finish to execute, it take more than two day. so i kill the spid.i found that the spid is roolback but its status is suspended.  by now...

View Article
Browsing all 12963 articles
Browse latest View live


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