Viewing 15 posts - 5,041 through 5,055 (of 5,841 total)
See BOL for example code for a login trigger. Check master.dbo.sysprocesses program_name column for their spid and you can know if they are using QA or not. If...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
August 5, 2008 at 7:40 am
Nary, your example trigger is very flawed in that it doesn't handle multi-record actions.
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
August 5, 2008 at 7:37 am
mcloney (8/4/2008)
I hate to be a "me too" kinda...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
August 4, 2008 at 6:46 pm
Partitioning is a tool. And like all other tools it is only as useful as your knowledge and skill at implementing/using it. There are too many variables in...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
August 4, 2008 at 7:30 am
maruf24 (8/3/2008)
when i...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
August 3, 2008 at 9:50 am
1) IN clauses can be performance dogs. Try to rewrite query using EXISTS.
2) Post the actual execution plan and the IOs used here for review. We will need...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
August 1, 2008 at 9:18 am
1) test and then upgrade to Cumulative Update 6 (or higher) to SP2 on sql server.
2) are you using lightspeed or another product to do backups?
3) run dbcc memorystatus and...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
August 1, 2008 at 8:51 am
See this series for the definitive word on deadlock troubleshooting and resolution: http://blogs.msdn.com/bartd/archive/2006/09/09/Deadlock-Troubleshooting_2C00_-Part-1.aspx
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
August 1, 2008 at 8:46 am
If you aren't using Enterprise Edition, set sql server max memory to 2GB and see how that goes. If still get alerts, go with 1.7GB. If using EE,...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
August 1, 2008 at 8:44 am
IMNSHO, trace flag usage should be reserved for addressing known, demonstrated problems that the trace flag is known to address. I do not recommend them for prophylactic purposes.
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
July 31, 2008 at 2:35 pm
But again, unless there is a very specific reason to do so, performance is often better with all of the databases in one instance. SQL 2008 (EE anyway) will...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
July 31, 2008 at 9:32 am
I would like to ask what you reasoning/justification is for having 5 instances on the same server. I can think of a number of reasons to NOT do this.
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
July 31, 2008 at 8:47 am
What you really need (and just like I and others told you on the public forums) is to hire a professional to assist you with the setup and configuration and...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
July 31, 2008 at 8:46 am
NOTE: SP2 original release has SIGNIFICANT issues with maintenance plans. Please make sure you apply the GDR2 fix to get to a workable system. Actually you may...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
July 31, 2008 at 8:44 am
My recommendation is that you tell us, in detail and preferably with sample data and expected output, EXACTLY what the objective of this trigger is. Then we can help...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
July 31, 2008 at 8:40 am
Viewing 15 posts - 5,041 through 5,055 (of 5,841 total)