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

IBMDASQL OLEDB linked server "access denied" using Windows Authentication

I have a linked server defined on a SQL Server 2005 SP2 standard edition server using the IBMDASQL OLEDB driver. The linked server has been defined and working for months when used from a SQL Server...

View Article


How to change collation at Database level

Hi ,I need to change one of my  database collation . Actually the server collation and database collation is differently . I dont want to change server level collation. I want to change only database...

View Article


How to see a SQL user password?

Hello ExpertsI am new to SQL SERVER, how can I see or get a user password in sql server 2008r2, I have a sa permission and I was asked to provide a user and the password, thank you as usual.

View Article

Memory allocation failure.

Hi All ~ I am using SQL Server 2008 R2 32BITS on Windows 2008 32BITS.  When I use sp_send_dbmail to send attachment, about 10MBand then Msg 22051, Level 16, State 1, Line 0 Memory allocation...

View Article

Why would you use a managed service account rather than a virtual account in...

In SQL Server 2012, service accounts are created as virtual accounts (VAs), as described here, as opposed to managed service accounts (MSAs).The important differences I can see for these, based on the...

View Article


"Hide Instance" setting not working with 2012 SQL Server Database Engine

I have turned on the "Hide Instance" setting in SQL Server Configuration Manager on my SQL Server 2012 Database Server. After several restarts of my SQL Server/Agent/Browser services, as well as the...

View Article

A network-related or instance-specific error occurred while establishing a...

A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that...

View Article

SQL Server 2008 R2 Single Node Cluster Patch CU5

I have to install the CU5 patch on a SQL Server 2008 R2 SP1 server that is a single node cluster. What is the process for doing this task? Should I shut down the cluster and stop the services for the...

View Article


sysobjects table locking up

Have seen this many times over the years.  Wondering if there is a simple solution now, since we have governors, etc.When you are bringing tables from other servers ....select * into myTable from...

View Article


what is Database clone? what are the ways in MS SQL Server?

No ,I am looking for Database cloning. Is there any feature in sqlserver like this.  Bz someone ask me that What is Database cloning in Sqlserver.

View Article

Does restoring from snapshot reset the LSN?

I have 2 DBs synchronized with Always on AG. Name it A (Primary) and B (Replica, Mirror).On B I take a snapshot of the DB.Then I failover between the 2 servers (Planned failover) - B is not the...

View Article

How to find the list of unused stored procedures in SQL Server 2005?

Hi, I need to find out the list of stored procedures which are not in use. I found there is something called "sys.dm_exec_procedure_stats " for SQL server 2008. Can you please suggest your ides here to...

View Article

diagnostic why Dead lock happen on Exclusive waiting for update lock

met the following problem about deadlock, don't know whey this happens, need help, thanks! Here is what happens(the simplified version).I have the following table and indexes:--Create table...

View Article


How to replace content in text data type?

How to replace content in text data type?  when we sending the mails we are taking content from the database. The data is maintained in text data type column. Now i have to replace some of content in...

View Article

Need advice to improve current RDS

Currently I am running a m3.medium SQL Server RDS(20GB storage without IOPS). CPU utilization is under 50% for most of the time(~90%). However, during peak hours(~10%) CPU utilization will hit 100%...

View Article


Database Space Available is Large

I have been testing the rebuild of many fragmented indexes on my database. The rebuild process went well, but after it finished, I found more than 55% space available in the mdf file. I already took...

View Article

Free space to the rest of the database from a single table

Hi,I have a table where we did a compression the JPG that make up the LOB data. This made the table about 70% smaller. However, I can see that the unused space for the table is 56GB vs 41GB of actual...

View Article


Image may be NSFW.
Clik here to view.

Linked Server Error

I Created a stored procedure for importing data from excel and the same data should be displayed in the Application Dashboard but am getting OLEDB error saying Linked Server Should be Created.Ad hoc...

View Article

Filestream Partitioning across multiple drives

I have a SQL 2008 R2 ENT database with the single [PRIMARY] filegroup, and a single FilestreamGroup.  The filestream has millions of records, cannot be restored, and is about to exceed the drive space...

View Article

PWAIT_MD_RELATION_CACHE and MD_LAZYCACHE_RWLOCK

Last night I started running a script to compress tables (page compression) in my database.  We are on SQL Server 2012 SP1 running HADRON and using CDC.  The script started off seemingly fine and...

View Article
Browsing all 12963 articles
Browse latest View live


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