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

SQL Exclusion?

Hello,This statement  reports 9,765 items select SYS.Netbios_Name0 From v_R_System SYS This Statement reports 6,102 items select SYS.Netbios_Name0 From v_GS_SoftwareFile SF join v_R_System SYS on...

View Article


"Deadlock" example follows. Need help with Analysis.

To betterunderstand deadlocks I created a simple example consisting of three Sql 2005 queries, each run in its own query window  (different SPIDs). My analysis and questions about the ERRORLOG follow...

View Article


Any benefit in SQL 2008R2 table partitioning when filegroups reside on the...

Hi,Is there any benefit of table partitioning when the table’s partitions reside on the file groups that stored on the same LUN?Thank you,

View Article

Any way to predict the query performance benefit of SQL server enterprise...

Hi,We have a SQL Server 2008 R2 standard edition instance with 64 Gig RAM and 4 Core CPUs. We understand that SQL Server enterprise can provide better query execution performance because of the reasons...

View Article

SQL 2012 SP1 producing deadlocks on sys.query_notification

I have run into a situation on my servers where our service broker setup for query notifications has begun producing deadlocks. The situation is described perfectly in this KB:...

View Article


Image may be NSFW.
Clik here to view.

parallel query DeadLock

Heyi have a deadlock im trying to deal with for a long time and no success i will love some helpthis is my table : private const string CreateLicenses =            "CREATE TABLE [Licenses] (" +...

View Article

Proper Index for Join query

Hi All. I would like to know what's the proper index should create for the join query?select a.col1,b.col2 from table_a ainner join table_b b on a.col3=b.col3and are there any resources...

View Article

Database Backup suddenly doubled the time it generally takes

Hi All,We have an environment where an instance has around 2.6 TB of data. Generally it takes around 14-15 hours for taking a complete backup of this data. But recently it started taking 2 days (48...

View Article


notify dba about a failed windows event in windows log

Is there a way to setup sql alert that notifies DBA for a certain event ID errors loged in windows application log?ThanksSQLFriend

View Article


Image may be NSFW.
Clik here to view.

Rename server name - how about windows group on the server?

After we changed computer name, and I renamed SQL server name too following ms articles. by using sp_dropserver, sp_addserver. But I see there are still somewhere on the server left with old computer...

View Article

Image may be NSFW.
Clik here to view.

set static port 1433 for named database instance on Cluster databaseserver

http://msdn.microsoft.com/en-us/library/ms177440%28v=sql.100%29.aspxNow SQL server browser is already running and requirement is to change the SQL port from Dynamic to static 1433.We have been asked to...

View Article

Two database connection

There are two related databases. There are two servers in the same network One server, one database I would like to connect the two databases Is there any way?

View Article

Restoring FileGroups...

We are currently in the process of designing a Consolidated System (data for multiple organizations stored in one database server) using SQL Server 2005. One of the design goal is to refresh individual...

View Article


SQL Server eat all the Server RAM

Hi All,  Server got 60GB RAM and SQL is eating 59GB also this server running like a dog? I just got this server to look after and want some help to sort the issues?Select @@versionMicrosoft SQL Server...

View Article

pivot Query without using any aggregation

Hi All,I have data in following format--Available data format COlA ColB A      abc A      bnh A      abcd B      mklf B      jkil B      sdadfI want to display it in following format --Required FormatA...

View Article


List ALL SQL Job schedule

Hi ALLare there script to list all the SQL Job schedules?thanks.

View Article

sql error 602 when attach Database in sql 2000

hi all,i have database in sql 2000 but when attach DataBase in sql get error error 602 : could not find row in sysindexes for database id 7 , object id 1 index id 1 , run DBCCcheck tabel on sysindexes...

View Article


sql server management studio 2008

am using sql server management studio 2008 32bit. i cannot start server agent.. i cannot right click and start

View Article

Transaction

Hi All,Someone please explain me how can this happen .. I have my own DBA database. Database script is given bellow CREATE DATABASE [DBA] ON PRIMARY ( NAME = N'DBA_Data', FILENAME =...

View Article

Oracle long raw data in an oracle view were truncated when I select the view...

Hi,my issue was very strange. our SQL 2005 server needs to retrieve some data from an Oracle table, the oracle table contains a long raw datatype column. I created a linked server, run "select"...

View Article
Browsing all 15264 articles
Browse latest View live