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

MS sql server licence key details

HI All Please let me know , how to check sql server licence key ( product key) details after successfully  installation of ms sql server ?

View Article


How to recover a database when log file is deleted

Hi,Please I need your help.It happened that there is a friend who is new to SQL server committed a fatal mistake. He was trying to fix a problem but made ​​a bigger one.  The problem was that the log...

View Article


SQL Express database file auto-creation error but web-config changed to Azure...

I have an app that is based on the new MVC4 template with SImple Membership provider.I've deployed the app to an Azure website and changed the connection string from a local express-database to an...

View Article

unable to see Sp

sql developer is unable to see SP's on some servers, My task is to add that user into DL, what could be his  DB role I assign so that he is able to see all SPswhere should I add his name --Himanshu...

View Article

Find data import duration by a Windows Service

HI,We have a windows service which pulls in data from a file share daily. How can I find out, how long does it take everyday to finish the data import process?Thanks!Thanks very much, Manoj Deshpande.

View Article


Maintanance backup plan fail

Hi allI have a maintenance plan to backup ALL databases on everyday 11:00am. however it failed start from wednesday.I see the log is so strange:Executing the query " declare @backupSetId as int select...

View Article

SQL SERVER ALTER THE TABLE

WHAT IS THE ERROR IN FOLLOWING CODEALTER TABLE Item_Master_Sample.DBO.Table_2_Master ADD CONSTRAINT PK_ITEM_CODE PRIMARY KEY CLUSTERED (ITEM_CODE ASC) ON [PRIMARY]HEREItem_Master_Sample-Database...

View Article

Backup

Hi all, when i take full backup database in sql server? internal how that command work ..... means how identify sql server engine since last full backup modifications.....? thanks naga

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

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

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

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


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

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

Resource governour, howto see/proof setup is working ?

Hi all, I have a SQL 2008 R2 server with 20 databases in one instance. Users in one of those db's are causing somtimes high cpu usage and I want to avoid that.So I set up resource governour with a new...

View Article


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

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

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
Browsing all 15911 articles
Browse latest View live


Latest Images