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

Image may be NSFW.
Clik here to view.

SQl server agent for named instance not starting

Hi In one of my machine (sql server 2005 ) we have 3 instances 1 default and 2 named (all are using same service account), i am not able to start sql server agent for named instances (no details in...

View Article


Creating one or more indexes on composite primary key?

So I have this new table, and I want to create a compound primary key on.  How do I handle the index with this situation ?The table will typically be queried with a join to it with a condition that...

View Article


Upgrade

Hi,Can we in-place upgrade SQL Server 2005 Standard Edition, 32bits to SQL Server 2008 R2 standard edition 64 bits?Thanks

View Article

Question about an odd use of constraints

I can go into more detail if necessary but the simple question is this: Is it possible to constrain a colunmn such that the column has to be UNIQUE AND allow NULL values?

View Article

Query Optimization

Hello All,I have a query : SELECT TOP 1000       FACT_TABLE.[ClaimLineNumber] AS [ClaimLineNumber],       FACT_TABLE.[clmnum] AS [clmnum],       FACT_TABLE.[memid_blinded] AS [memid],...

View Article


How to determine why duration of a query varies.

I have a complex SQL query generated by a C# object model layer. Using SQL Profiler I have monitered the database which is only used by this application. For the same query the duration varies between...

View Article

Image may be NSFW.
Clik here to view.

sql server add primary key on existing table

How do i add primary key to this table i show in picture..Pls anyone resolve this...!

View Article

Cannot start sql server (cluster)

Hi.I have set up a cluster, identical in two environments. In vmware vphere 5.sql 2008r2 on server 2008r2 x64One of them will no longer start the sql service.Don't know exactly what has happened here,...

View Article


Time-out occurred while waiting for buffer latch type 3 for page (1:203),...

Strange effect when running a manual checkpoint in TEMPDB (don't ask me why I did this).It took 5min to complete and finally failed generating error: Time-out occurred while waiting for buffer latch...

View Article


Get a notification when free space into a database is going to terminate

Hi all,is there a way to receive a notification when free space (unused + unallocated) of a database is going to be spent?

View Article

SQL Server 2005 Database Mail - Mail configuration information could not be...

I'm trying to setup Database Mail and send a test message, but it's not working.I've done several step-by-steps and all and I can't get it to work. Also checked several posts in this forum but none...

View Article

Data deleted, unallocated space NOT regained.

I need to regain UNALLOCATED SPACE inside a database file, so that I can avoid 'out of space' errors that stop queries from running.I've deleted about 12GB worth of data from a 20GB database, but no...

View Article

833 warnings when doing Transaction Log Backups

We have many instances of SQL Server 2008 Workgroup Edition that ran great on SQL Server 2008 SP1 however after these nodes have been upgraded to SQL Server 2008 SP2 or SP3 we have had an issue where...

View Article


can backup leave database in restoring state?

I recently had a problem with the 'model' database remaining stuck in RESTORING state and keeping SQL Server from starting up. I eventually recovered by restoring system databases from a 10 days old...

View Article

Why is "instead of delete" trigger not fired by delete from within "after...

One of my tables has both an "after update" and an "instead of delete" trigger. When I perform a delete within the after update trigger, the instead of delete trigger is not fired. Although I don't...

View Article


how to multi-target for vista, windows 7 and windows 8 using sql server express

the original application was built for .net 3.5 using sql express 2008 mdf file with connect string ofData Source=.\SQLEXPRESS;AttachDbFilename=c:\MDF\StringTmp.mdf;Integrated Security=True;Connect...

View Article

Builtin\Administrators cannot login in SQL 2008 R2

I created a Windows Login, Admin2, and added that to the Windows Administrators Group.I then added the Builtin\Administrators login to SQL and assigned it to the Sysadmin Server role.I then logged into...

View Article


Would a composite unique constraint also fulfill a need of a non-unique index...

Current Setup:Suppose if I have a table called [Table1] with the following fields in it (only relevant fields are shown)[RowId] int non null identity (1, 1) primary key[OwnerId] int non null has unique...

View Article

Why MODEL database recovery is full eventhough it is template for tempdb

HiWe all know that model database recovery model is full and tempdb is simple. But we also know that model database is template for tempdb. Then what exactly changes tempdb recovery model during sql...

View Article

Is there any reference sites or configuration to run SQL DB in PCI-E flash...

 Hi experts,  I run our SAP/SQL in HP EVA 8400 now but the MA will be expired soon. I plan to migrate to an ex: P7400 mid-range storage.  However, a consultant give me a very interesting idea. Our...

View Article
Browsing all 15889 articles
Browse latest View live


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