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

how to send alert from sql server to a group for job failure?

hi friends,Can any one help me in this issue.I am working in MSSQL Server 2012. I do not have any monitoring tool in my server. Is there any way so that me and my colleague's must be notified for the...

View Article


RESTORE DATABASE WITH REPLACE Fails in SQL 2012 (Works in 2005/2008)

I have a commercial application that installs a database instance and restores a database from a .BAK file. I must be able to support SQL 2005/2008 and 2012. The instance of the database is created...

View Article


Single Out a Specific SQL Process

Guru's Is it possible to specifically identify a process belonging to SQL Server Processes category in a given machine(computer or server)?If it is possible can you show me the steps I should take to...

View Article

Not all colums are getting updated with "WITH (ROWLOCK)" is used in a update...

Hi we are using following query in our code ; except DESC1 all other values are getting updatedSTATEMENT : "Update Table1 with (ROWLOCK) set DESC1 = ?, DESC2 = ?, INSTR =?, GRP =? where ID = ? "Can you...

View Article

SQL Server limits rows added to a table

Hi,I need to append over 50 million rows to a table in a database.  Problem is, as soon as it reaches 3.6 million rows, it just stops inserting rows.  There is no error raised.  We have to manually...

View Article


Local temp table created inside stored procedure does not drop automatically...

Here I just want to play with local temp table behavior inside a stored procedure. I still create and drop temp table inside the same proc.Below is the sample...

View Article

Mount Point drives are not visible in SQL Server cluster?

Mount Point drives are not visible in SQL Server cluster?

View Article

Sequence Object Duplicate Values

Has anyone had an issue with getting duplicate values from a sequence object?We are using SQL Server 2012 SP1 and ran into an issue this weekend. We had patches applied to our SQL Server server and it...

View Article


How to attach a database in standby mode(SQL 2012)?

Hi experts,  Let's assume I build log shipping in standby and my OS disk fail. I reinstall a new OS and due to some reasons, I want to read the data in standby DB(allow data loss). How do I attach a...

View Article


The advantage of clustered index on primary key?

From MSDN documentation on primary keys and clustered indexes,PRIMARY KEY constraints create clusteredindexes automatically if no clustered index already exists on the table...

View Article

Deadlocking analysis help needed..

Today I was approached by a developer whose app was deadlocking during testing. To emulate a user load he invoked a webservice in a loop with each loop having 10 invocations (each with different input...

View Article

Strong SA password

 On running the setup file, I got this message when trying to run msde:"A strong SA password is required for security reasons. Please use SAPWD switch to supply the same. Refer to the readme for more...

View Article

SQL 2012 filetable fileshare, cannot open Outlook msg file

I have mapped a filetable fileshare to a local drive.  I am able to open most file types except an Outlook msg file.  I get the standard "Cannot open file T:\etc..etc.msg.  The file may not exist, you...

View Article


SQL Server 2012 TempDB ballooning to more than 75 GB

Hi,In one of our database while executing a procedure serving an important business logic, which has 11 joins, then a filtering on a specific column, sorting using order by on a specific column. In the...

View Article

Sliding Windows Partition implementation on 2 File Groups. One file group is...

Hi All,Sliding Windows Partition implementation on 2 File Groups. One file group is on Fast Disk & another is on Slow Disk. Here What I am trying to achieve is suppose I have 10 Partitions &...

View Article


429ActiveX component can't create object sql server 2008

recently i have instaled sql server 2008 on my windows server 2008 instead of sql 2005. an application stoped working and started to give me this message " 429ActiveX component can't create object "...

View Article

oracle odbc SQLAllocHandle SQL_HANDLE_ENV error

I am using a 32bit application on Windows 7 (64bit) to access a 32bit Oracle database via 32bit ODBC.If the user id is in the Local Administrators group, it works normal.If the user id is not in Local...

View Article


MEMORYCLERK_SQLCONNECTIONPOOL consuming memory

Hi,In one of my Server which has 16GB of RAM out of which 12 GB is allocated to buffer pool with lock pages in memory enabled.I am seeing a lots of memory error (701)in error logs.During my diagnosis i...

View Article

Issue for listening Sql Server on non default port? Not able to connect from...

Hi All,I have setup a lab environment for SharePoint 2013 farm. There is a windows server 2012 domain controller, a separate database server and a application server.I have installed only named...

View Article

Check scheduler_id's for parrallel queries using Extended Events

Hi,we followed the rule to set the maxdop = numer of schedulers per NUMA node. I now want to check how often parallel queries can use different schedulers within the same NUMA node. Following scripts...

View Article
Browsing all 12963 articles
Browse latest View live