Query Timeout expired
Dear All, I am having a serious problem. I have a system running in VB6 and SQL 2008 in the backend. It was running smooth for last three years. But for last three months all on a sudden I am facing a...
View ArticleSQL 2012 SP1 - How to determine a query that causes Error 8623 in SQL Log:...
We are getting multiple 8623 Errors in SQL Log while running Vendor's software.How can you catch which Query causes the error?I tried to catch it using SQL Profiler Trace but it doesn't show which...
View ArticleSQL Server 2012 Always On Availability Issue
Hi,SQL Server 2012 EE with SP1 - Windows 2008 R2 EE.I am trying to setup SQL Server 2012 Always on Availability Groups - HADR. I am testing this on a 3 node cluster but all nodes are in the same...
View ArticleUsing PowerShell to Reset Credentials Services Use to Login
I have to come up with a way to reset all the sql server credentials on our domain. I realize PowerShell is great for this type of change, I havn't had the opportunity to learn it and now I have a...
View ArticleSQL Server Memory
Hi All,I am not sure if this is a fair ask or no but this is something i want to learn much internals about sql server memory and how sql server responds to memory pressure and i wanted to see that...
View ArticleMoving the log file of a publisher database SQL Server 2008
There are many threads on this here. Most of them not at all helpful and some of them wrong. Thus a fresh post.This post regards SQL Server 2008 (10.0.5841)The PUBLISHER database primary log file which...
View Articlecombine two rows in single column data
hi,I have an requirementfor ex:Division Resourcename PRojectname Projectstartdate Projectenddate allocated percentagedevelopment A one...
View ArticleSQL 2000 LINKED SERVER ERROR 7303 WITH SQL 2012 ON WINDOWS SERVER 2012 R2
Hi all,I have a problem with SQL Server 2012 and a linked server for SQL 2000 database.System specification:Windows server 2012 64 bitSQL SERVER 2012 64 bitREMOTE SERVER SQL 2000 32 bitI've installed...
View ArticleGet Notification When SqlConnection Pool Count change
Hello AllI use Following Query To check ConnectionPool Count:SELECT COUNT(*)FROM(SELECT host_process_id FROM sys.dm_exec_sessions WHERE PROGRAM_NAME = 'MyApplicationName' GROUP BY host_process_id) AS...
View Articleparallel query worker thread was involved in a deadlock
Hi, We are getting deadlock issue in MSSQL 2012 enterprise edition. By enabling the trace we could find the MORE number messages as below: "parallel query worker thread was involved in a...
View Articlewhat permission is needed for a login to access the restored database(backup...
what permission is needed for a login to access the restored database(backup from different server)frequently reach the situation, when vendor restores a database, but he cannot access it unless I...
View ArticleTempDB full (Unable to shrink)
Hi experts,The drive holding tempDB is full. I confirmed that there are no transactions open and tried to shrink the tempDB. I would not shrink at!I tried that several times and waited to see.any...
View ArticleStrange problem when updating database
I have an odd problem with a small application that is written in VB.NET, reading from and updating an SQL Express 2012 server. The app pulls a datareader from a view and then loops through it and...
View ArticleThe TCP/IP connection to the host 127.0.0.1 , port 1433 has failed
hi all, i am using SQL2005 server as my database server. i am trying to connect this server in java (i mean using JDBC). i am using windows authentication to connect my sqlserver. i have the url...
View ArticleHow do I know how many SQL Servers in my domain?
Hi Experts,A new accidental DBA here. How do I get a list of all the SQLL servers in my domain?Thanks
View ArticleSQL SERVER DISK ADMINISTRATION
Hello Expert DBAsI am new to sql server and i was wondering if you can provide me with best practice for sql server disk administration and documentation please? Thank you guys
View ArticleHow to Set or decide the Performance Baseline ?
Hi Guys ,Like to know different way to set performance base line on production SQL Server. would be great if can provide detail.Which monitoring counters should look for with min value?steps to decide...
View ArticleLogin from LAN Client fails
Server: Windows Server 2012, Windows Firewall: Off, SQL Server Database Engines: ON, SQL Browser Service: ONClient: Windows 7 Home Premium (Local Area Network Computer)Issue:From server, I can use...
View ArticleSteps to move Data and Log file for clustered SQL Server
Hi guys we have Active'passive SQL 2008R2 cluster environment.looking for steps to move Data and log files from user Database and System Database for SQL Server Clustered Instance. Currently Data and...
View ArticleBackup DB with stored procedure and a parameter for the destination
I would like to create a little backup SP that I can pass a parameter that contains the location so a user could backup to any location they wanted. I started with this but it doesn't seem to...
View Article