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

problem inserting values in xml schema collection

I am trying to insert value in schema collection but it is giving error.This is my schema collection create xml schema collection productionemployee as '<xsd:schema...

View Article


Health Check

Hi,How to Monitor the health of databases? 

View Article


using MSSSQL SPLA licensing to deliver ISV application as service

Hello,I don't know is this good forum or not, but I searched and nothing came back on this topic. We have application which customer would like to rent it on their own hardware and their own windows...

View Article

How to get the latest row in a MS SQL server for a specific value??

Hi,This is one of the transaction tables i need for my application.DeptEmpd005b001d003b002d004b003d005b002d002b001d005b004The values in the table are inserted after enough time gap, one after the...

View Article

Academic question Clustered Index or Nonclustered Index

Hi guys, I'm getting a little bit confused about clustered and not clustered index. For example: create table forum (xxxxx int identity)  it's a clustered index or not (I think don't)? create table...

View Article


Problem in changing password of sa account.

Hello, I cant change my password of sa. I have tried with codes belowALTER LOGIN [LOGIN_NAME] WITH DEFAULT_DATABASE=[master]GOUSE [master]GOALTER LOGIN [LOGIN_NAME] WITH PASSWORD=N’NewPassword’...

View Article

RESTORE DATABASE fails, but only if run from within TRY/CATCH block.

Hi everybody,I'm trying to restore a DB using the following script:BEGIN TRY RESTORE DATABASE [20130717_SERVER4_NS_dat] FROM DISK = N'c:\NS.bak' WITH FILE =1, REPLACE, MOVE N'NS_dat' TO...

View Article

regarding nchar division of a database

how can we add a division for a database with nchar field for a particular database? can anyone explain ?thanks in advance.

View Article


database schema

my onsite DBA  is asking me to send him the DATABASE SCHEMA for a particuar database,my question is that we need to have schema owner and schema name right?but he din't give any name and owner to...

View Article


MS SQL table hangs on constraint violation exception

I need to create a Quiz Application. But during testing I am facing 1 issue. My table structure is this: Table 1: id (PK)  => This column is also foreign key for Table 2: Table 2: id (PK) qid...

View Article

Regarding division of database.

One of my senior DBA has asked me " can u add division?" so now my questio is that is he refering to add division to a database or anything else? if it is to add division to database,how to do that can...

View Article

Snapshot is disappear after sudden lan down in the data centre for 20 minutes.

I have a setup of sql server 2008 database mirroring and there is  a snapshot  of mirror database.There was  a sudden lan down in the data centre for 20 minutes in which the mirror database is become...

View Article

Deleted Default database for All user

While restoring database. thought we have all backups to restore, but accedently deleted the databae which is the default database for all logins and loged off from server. now we can login to server...

View Article


re buiding indices

Hi all,I am a dba by accident. I have a  question. I have been asked by my team to re-build indices for an application database. I looked at the statistical report of index usage and tables.  I scanned...

View Article

SQL Agent Restart time

Hi All..It's it possible to find the sql agent restart time using TSQL: here using SQL 2000.I found a scheduled sql agent backup database job missed at the target schedule.

View Article


More than 1 log file possible?

Guys, is it possible for a database to have more than one log file? if the answer is yes, would not that conflict with the nature of log file(that it records in a sequential manner)?Regards as always,ebro

View Article

SQL Server Target Memory

Hi AllI have few SQL 2008 R2 32bits on Server 2008 32bits, I leave all the min and max memory setting to default ( i know it's a bad practise). I start up all the sql servers and check their target...

View Article


How to configure report through SQL Server maintenance Plan?

Hi All, Using SQL Server 2008R2 (10.50.1804), created a maintenance plan for databases backups with the below tasks: 1) Maintenance Cleanup 2) Cleanup History 3) Backup Database [Full] After execution...

View Article

Estimated Execution Plan: meaning of "Output List"

We have a query that that includes a SELECT Distinct.... clause. The estimated execution plan displays an icon with text below:>>>>>>>>>Sort(Distinct...

View Article

Data Collection Filters (Database Engine)

Dear friends,Is it possible for data collection feature to be set up so that it will only collect data about only those queries running longer than say 5 minutes?Also, can I collect data only on a...

View Article
Browsing all 12554 articles
Browse latest View live


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