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

Best way to do table alteration

We have a table in production database (SQL Server 2012) which contains 60 Million Records. Also this table is using in replication. While i try to drop a column from this table with Alter statement....

View Article


Image may be NSFW.
Clik here to view.

Bug executing query (parallelism, repartition streams)

Hi,I was trying speeding up a query. After modifying it bigtime the query did not return any records. The query itself didn't make sense anymore, but I still expected it to return some data. After...

View Article


Oracle equivalent collation for SQL database

Hello,I am in process of migrating oracle database to SQL server database.The character set for the two Oracle databases are as shown below-PARAMETER                      VALUE...

View Article

sql server 2014 time out issue

am getting Time out issue some particular time only is there any database or connection issue Please find the below error and adviceError Description :         Connection Timeout Expired.  The timeout...

View Article

Service account for sql server

Hello,I have two sql servers (2012), running sql 2005 db in compatibility mode.Currently the sql servers are running under NT/local_service account. SQL agent is also running as a local service. Now we...

View Article


Should i or should i not go ahead with increasing physical RAM on Windows...

Hello ,For one of our servers running with below configuration:Windows server 2003R2, SP2 Enterprise edition with 8GB of RAM and PAE AWE enabled,we are on a conclusion, to add additional RAM ( after...

View Article

One query using up TempDB

HiI have a query that is using up the whole TempDB (50GB) and still failing because the disk runs out of space.The script has SELECT FROM SELECT FROM SELECT etc. and in each select it also seems to...

View Article

SQL Server Memory

Hello,I am using sql server 2012 SE on windows 2012 data center edition and it is a virtual machine.  I have a quick question on SQL Server Memory. On Monday I bumped up more memory on to this VM from...

View Article


Can the deleted records be recovered in Simple Recovery model?

Can the deleted records be recovered in Simple Recovery model database? Are the delete logs present there?

View Article


Analysing and Recommendation on SQLIO result

I am testing disk performance on SQL Server which is part of High Availability group onsite and over the WANCan someone please analyse this output I run on SQL Server 2012Whether it is good performance...

View Article

Cannot use Linked Server unless I have sysadmin role

I have a local SQL Server 2008R2.  I have configured Linked Server to a remote database. The Linked Server works great when I login to the local server using a SQL-login account withsysadmin server...

View Article

SQL Server event Log ID 18056.

Hi All,I want to find the root cause and resolve the below issue:The client was unable to reuse a session with SPID 63, which had been reset for connection pooling. The failure ID is 23. This error may...

View Article

Is it possible to create in-memory tables using SQL Server 2012?

Hi, I have a confusion about "in-memory" option. I've been reading about that but I don't understand some features. 2012 SQL Server only work with that to improves analysis engine and columnstore index...

View Article


Image may be NSFW.
Clik here to view.

SQL Server 2008 R2 eating up all memory

Hi,We have a Windows server 2008 with SQL Server 2008 and .NET Application deployed on the same system. I believe the SQL is using high amount of RAM which is causing the application to slow down...

View Article

sqlserver instance list

I have not used sql server/ssms for a while on my computer for a while now.I think I was last using sql server 12 trial version ssms.But the license has expired and I ran ssms 2008.But when I try to...

View Article


Query Tuning - IN Operator

Dear Friends,I have a the following query which takes long timeDECLARE @ACCOUNTS TABLE(ACCOUNT_ID INT) INSERT INTO @ACCOUNTS SELECT ACCOUNT_ID FROM ACCOUNT WHERE A_DESCR in ('AA', 'BB', 'CC', 'DD',...

View Article

TSQL to check if a DB is the primary in log shipping

Hi,  I have a server that has several DBs .. some are log shipping(ls_) and others are not. The current TRAN backup script just does a:select name from sys.databases where name !=  'ls_xxxx'and name !=...

View Article


Unable to login

It has been a while since I used sqlserver on my computer.When I try to connect to an instance using ssms 2008 I get "Cannot connect to SQL Server/Login failed for user"Authentication is Windows...

View Article

Image may be NSFW.
Clik here to view.

SQL Server 2012 - TCP port conclict

Hi, I am trying to use SQL server 2012 and Wamp server in the same computerthe situation is: here port  80 is freeI here  port 80 is also free - IIs Setting are: The Apache is using port 80in...

View Article

SQL Server Error 0 "A severe error occurred on the current command. The...

Hello,I have been doing some database failover testing with one of my company's products, and I am seeing the following SQL error in my custom logs (I am an engineer, but have  been doing a lot of...

View Article
Browsing all 5123 articles
Browse latest View live


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