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

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


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


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

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

Clustered Index Update or Insert Expensive Query Plan Operator

Hi Everyone,I'm in the process of analyzing a sql 2008 database for performance reasons. I have discovered a significant number of DML query plans that seem to show a high operator cost for 'Clustered...

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

Suspect that a low PLE leads to a performance problem

Version;Microsoft SQL Server 2005 - 9.00.5000.00 (Intel X86)   Dec 10 2010 10:56:29   Copyright (c) 1988-2005 Microsoft Corporation Express Edition on Windows NT 5.1 (Build 2600: Service Pack 3)The...

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


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

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

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


Character Encoding - Conversion

Hi,We have a CRM application which records the emails into a database. The Database uses the Collation: SQL_Latin1_General_CP1_CI_AS.When I query this table to retrieve the subjects of the email using...

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

A login "SQLLoginA" on server A and he wants to alter a view of a database on...

Linked server:I have a login "SQLLoginA" as db_owner on server A and he wants to alter a view of a database on server B using linked server.I have logged in Server A as Sysadmin and choosen the fourth...

View Article


Query runs a long time when I include actual execution plan

I'm trying to troubleshoot why a query runs 1 second vs 18 seconds in 2 very similar environments, but different servers.   The database where it runs fast is a restore of a backup of  the database...

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

SQL Server 2012 takes forever to restore database

I've been using a 2008 R2 install for a while, restoring 2008 R2 databases from a different install.  10GB DB took about 5 minutes at most to restore.  I upgraded to 2012, and now the same backup takes...

View Article
Browsing all 15889 articles
Browse latest View live


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