Quantcast
Channel: Forum SQL Server Database Engine
Browsing all 15694 articles
Browse latest View live

Cannot insert duplicate key row in object XXX with unique index YYY...

Problem summary: Server configuration: SQL Server 2008 R2 Sp2 Initial state: We have several fact tables partitioned by a partitioning function. The partitioning function datatype is numeric and...

View Article


question on setting up alert

Hello All,I want to set up an alert that sends out an email if a column value of a table is less than some value. Is it possible to create an alert based on tsql? Thanks in advance

View Article


Database backup issue

Hello All,Recently I have been getting the below errors whenever my full backup job runs on my staging environment. The job is nothing but a maintenance plan that first deletes backups older than 3...

View Article

Describe the differences between the pessimistic SERIALIZABLE model and the...

 Describe the differences between the pessimistic SERIALIZABLE model and the optimistic SNAPSHOT model in terms of transactional isolation (i.e., not the concurrency differences, but instead how the...

View Article

What is OBJECTSTORE_LBSS?

My database instance was running slow. I logged into the machine to find SQLServer was taking 32GB of memory(out of 32GB), odd since I configured it to only take 14GB. Ran the following:   select name,...

View Article


An error occured during encryption - Views?

I ran the view on sqlserver 2008 R2 EE and getting the below error :Msg 15466, Level 16, State 2, Procedure vw_entityRpt, Line 4An error occured during decryption.What is the issue?Thanks,Ron.

View Article

how to rename column name of a table using sql server command

dear sir plz tell us how to change my column name permanently using sql command???note: I want to run it on sql server 2005Today is the Great day

View Article

Maximum threads exceeded in SQL Server 2000

Dear all, We're using SQL Server 2000 sp3 in Windows Server 2003,with 8 cores of processor and 12GB of memory.In the moment, our server suffers from these errors: - startsubprocess: Limit on 'Max...

View Article


How to find empty views in a database in sql server2000

Hi all,how to get list of views which doesn't contain any records  in a database in sqlserver2000please help methanks in advance,kishor.

View Article


Partition Elimination doesn't occur with CHAR column and basic queries?

It seems that partitioning on a CHAR column is not at straight forward as I imagined.  I have several ODS and data warehouse databases where almost every table is being queried with a char(3) column in...

View Article

can tempdb be set too large?

We all know and love tempdb and its sometime excessive usage, right?I wish to know if there are any performance issues with manually setting tempdb to a large size directly, even if it is never going...

View Article

Fregmentation Level of Index

Hi,    we are using sql 2005 and will be migrating to sql 2008 r2 in couple of months.    i am trying to use "sys.dm_db_index_physical_stats" dmv to get fragmentation level of an index but it's getting...

View Article

Do I need to change collation to save Japanese characters in the database?

Hi,I posted a question about saving Japanese characters in the database the other day. The solution offered was to change the column data types to nvarchar which I did but Japanese characters are still...

View Article


Im Log shipping my backup job fail what i can do?

thanksThanks, Purna

View Article

in log shipping my transaction log back up corrupted ex: i have 10 back up...

thanksThanks, Purna

View Article


Updating Configuration Files using SQL Statements

In SQL, are there any direct SQL commands to update the configuration files.I want to keep my configuration files away from users, and don't want any manual updates in them, but want to use some simple...

View Article

Weird response time from a stored procedure

Hi All,I recently hit a bit of a problem and I wanted to know the thoughts of the community.I have a C# app which calls a stored procedure on a SQL 2008 database, by default when the proc is called, a...

View Article


Unable to shrink DB

OK, I am a sysadmin, not a DBA.  So I am running some monitoring software, and it reports my log file for my DB is getting to large.  I check on it and low and behold it is huge, 400+gigs when the DB...

View Article

Average Load in last 1 hr

I would like to gather following information. Basically I would like to gather Average Load (such as CPU,Memory, Session, Process, Page life, Buffer cache) in every hour.  I am using SQL 2008. I am not...

View Article

Separating Data Files and Log Files

Hi Folks, I am facing an issue which I thought I understood but looks like reading and implementing a strategy are very different. I have a SQL 2008 running on a VM with Windows 2003 and having 8...

View Article
Browsing all 15694 articles
Browse latest View live


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