How to Allow a User to Alter a SQL Server Agent Job
I have given a user SQLAgentOperatorRole, SQLAgentReaderRole, and SQLAgentUserRole. I want the user to be able to view the job, run the job, but also alter the job.However, it doesn't appear that...
View ArticleDatabase and Log File Size is Growing Very Fast!!!
Hi guys,I have a Database that runs on SQL Server 2012 and I just noticed that the size is increasing drastically. Also the size of the log file is over 3x the size of the data file.Please can someone...
View Article[Forum FAQ] How to tell if the DAC port is automatically changed or not
IntroductionPer Books Online: http://msdn.microsoft.com/en-us/library/ms189595.aspx SQL Server listens for the DAC on TCP port 1434 if available or a TCP port dynamically assigned upon Database Engine...
View ArticleHow to catch "an insufficient number of arguments" error?
Hi All,I have a question - how to cauch this error:SELECT * FROM dbo.ExistingFunction ('Wrong number of params - ExistingFunction expects 2 of them')I tried using try-catch (both on the same level and...
View ArticleSQL Database Size 0 and Unallocated space in negative ..how to Free up?
Hi everyone , One of database size on sql 2000 showing available space 0.00MB and unallocated space -6030.04 MB. Any idea how to free up space. Is could be reason database holding locks when user...
View ArticlePercentage of Worker Threads too high.
Greetings. So I got an alert yesterday that my worker thread count was too high. After doing some digging I've read several articles that the issuecould be due to CPU pressure. However, my CPU was...
View ArticleSQL 2000 : Target and Total memory
Hi All. I am using sys.dm_os_performance_counters to check the target and total memory in SQL 2005 to SQL 2012and are there anything similar in SQL 2000 ?
View ArticleScan Density vs Fragmentation
Morning!I have seen some of the other threads regarding this .. but I am looking for a good explanation for a vendor. We are running on sql server 2008r2 and we are running scripts that rebuild...
View ArticleWhy shrinking the data file is bad?
Hi All,Why shrinking the data file is bad?If it is bad, Then why SQL server has this option?
View Articleadding a data file to tempdb will increase the performance?
Hi all,adding a data file to tempdb will increase the performance?If yes why?If no why?i have a OLTP and OLAP DB in same server with 12 core processor and 200+GB RAM?how many tempdb data files i should...
View ArticleSQL2000 upgrade to SQL 2008
Hi all. Have you guys expereince performance issue upgrading from SQL 2000 to SQL 2008?Now, some query run slower in SQL 2008 than in SQL 2000. What I do is look into Query plan.In SQL 2000, can I look...
View ArticleCU10
Hi I applied CU10 on top of SQL Server 2012 SP1. Now What things I should check to make sure that the patch has applied successfully and there are no issues?Regards,
View ArticleACID
Hi,Which of the following option manage "Recovery management" ?1-Atomicity1-Consistency3-Integrity4-Durability
View ArticleSQL Server 2012 Undetected Deadlock in a table with only one row
We have migrated our SQL 2000 Enterprise Database to SQL 2012 Enterprise few days ago. This is our main database, so most of the applications access it. The day after the migration, when users...
View ArticleSQL Server installed is pirated?
hello guys!Anyone know how to check if the SQL Server installed is pirated?
View Article[DBNETLIB][ConnectionWrite (WrapperWrite()).]General network error.
HI~ we have VB program running SQL. there is problem that the program run for around few hours but at some stage it hit the error [DBNETLIB][ConnectionWrite (WrapperWrite()).]General network error. No...
View Articlemaster..sysprocesses.waittype shown a hexadecimal value and I want to convert...
master..sysprocesses.waittype shown a hexadecimal value and I want to convert it to Varchar for my database blocking code which will me give me a HTML format mail whenever blocking will occur.Thanks
View ArticleMove a LDF file of a secondary DB (Mirror + Log shipping)
I have a primary site with 85 DBs, all the DBs are replicated to 2 sites: 1 replica is a Mirror and the other one is Log shipping.I have to change the drive for the LDF files in all 3 sites, for all...
View ArticleCyclic blocking forever, without deadlocking
I have SQL Server 2012(11.0.3373) instance with AlwaysON setup. I see cyclic blocking where two sessions block each other forever(till one of them is killed), but does not get deadlocked. Unable to...
View ArticleMemory allocation
Dear All,Today one of my app team person had come up with a concern. His application and SQL server both are running on same server. And they have assigned 75% percent of memory to SQL server and...
View Article