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

Sql Server Name and restoring databases

Hi, We have to restore a database from a dead Win2k3 server. We can re-attach the databases just fine, but our software calls to Server=subdomain.example.com;Database=soandso;When I install SQL Server...

View Article


How to re-construct PFS page in corrupted database

Hi All,I am troubleshooting one database in which some pages are corrupted. As Paul say we can re-construct the PFS_PAGE( please refer the below url), could you tell me step by step please how to...

View Article


How to clear a lock

Database has a lock that is preventing users from using it. How do I clear this lock?

View Article

Microsoft SQL Server 2012 Standard Error 233 and 18456

SQL Server 2012 Standard on Windows Server 2012, all updates installed.When using Visual Studio SQL Server Management Studio and using the Connect button in an attempt to connect to the database engine...

View Article

Missing Default Backup in Database Settings of Management Studio

I just installed a new SQL Server 2008 Enterprise Edition R2 with several instances.  In the database settings in the properties of the servers, the default path of the backups is missing.  I've never...

View Article


Image may be NSFW.
Clik here to view.

New Top Support Solutions blog

HelloAs part of our efforts to keep our communities informed about the most relevant content that address the top questions that we are getting in out forums and other support channels we want to...

View Article

DBMIRROR_EVENTS_QUEUE wait Type but mirroring is not configured

Hello,While checking the databases in Activity monitor, i wonder that a database is not configured for mirroring but still its showing DBMIRROR_EVENTS_QUEUE in wait_type.I also Use DMV...

View Article

change single user to multi user

Hi,I put the database ABC in single user mode through SSMS, now when I am changing back it to multi user, I get below errorMsg 1205, Level 13, State 68, Line 1 Transaction (Process ID 127) was...

View Article


Difference between SQL 2005 Standards and SQL 2012 Standards edition

Hello All,Can someone please tell me what are differences between SQL 2005 Standards and SQL 2012 Standards editions.We are migrating so we need to all the differences for development and...

View Article


enabling Change data capture on database

While Enabling CDC on database I am getting below error, Can any body help me please... Msg 22830, Level 16, State 1, Procedure sp_cdc_enable_db_internal, Line 193Could not update the metadata that...

View Article

Which user for a contained database - SQL Server 2012

Hi,if I've a contained db and I need to create an user for this db in order to porting this contained database to different servers inside the same domain, which type of user do I need to create?For...

View Article

With SSMS Can a user with VIEW DEFINITION permissions on a procedure, see its...

Is there a way directly within the GUI itself to see the definition of a procedure if a user has VIEW DEFINITION permissions (as well as EXECUTE), or will they need to use sp_helptext?

View Article

Table valued function caching wrong column names

I have two Table-valued functions where one uses the other in a manner as below.CREATE FUNCTION f1 ( @@iduser INT ) RETURNS TABLE AS RETURN ( SELECT [idf2] AS idf1, 0 AS [status],* FROM...

View Article


Fail to add user 'sa' as a owner of a database for administration

Dear all,I try to set permission of "sa" user to a database I created with an other Windows admin account. When trying to set mapping role to owner in order that "sa" account gets all permission on...

View Article

Memory dump files are creating in Sql server 2008 log folder which occupying...

Hi All,Frequently we are facing the issue with memory dump files which will creating space issue on the drive...Each dump file occupying around 100 or 200 MB and it will creating every 1 mint..please...

View Article


Create Foreign Key to Unique Filtered Index

Hello, First, I have a parent table which contains a composite Primary Key of KeyValue1, KeyValue2.There is a bit column in the table which mostly has values of 0, but occasionally has a 1.I want to...

View Article

Image may be NSFW.
Clik here to view.

Microsoft TechNet Wiki Guru - Winners for November!!

The results for November's TechNet Guru competition have been posted!Sorry for the delay copying over to the forums, busy times...

View Article


Find Report Name based on Report ID

How do I find out the report name based on the report id ('D12C939B-4309-4364-A025-BFDB5203EE0B')?

View Article

Image may be NSFW.
Clik here to view.

Be our December TechNet SQL DBE Guru. Give the gift of code!

It's that time of the year again!It's Giving time!A time to think of those less awesome than you.A time to give something back to the community.Think of those happy faces you will make, as they open...

View Article

Problem to create it

Hi, when creating thiscreate view view2 as (select id1,fig_type,fig from (select id1,figtp1_ft1_mk1,figtp2_ft1_mk1,figtp3_ft1_mk1,figtp1_ft1_mk2,figtp2_ft1_mk2,figtp1_ft1_mk3,figtp2_ft1_mk4 from view1)...

View Article
Browsing all 15264 articles
Browse latest View live