Viewing 15 posts - 196 through 210 (of 455 total)
Thanks for article Roy.
i am considering turning on these features on an application we have at my current company, but had a question.
If i alter my database with;
ALTER DATABASE MyDatabase
SET...
January 31, 2012 at 10:45 am
declare @MyTable table (CardType varchar(50), Completed bit)
insert into @MyTable
VALUES
('ATM_Issue.CRD', 1),
('ATM_RePIN.CRD' ,0),
('Debit_Business_Issue.CRD', 0),
('Debit_Business_RePIN.CRD', 1),
('ATM_Issue.CRD', 1),
('ATM_RePIN.CRD' ,0),
('Debit_Business_Issue.CRD', 1),
('Debit_Business_RePIN.CRD', 0),
('ATM_Issue.CRD', 1),
('ATM_RePIN.CRD' ,0),
('Debit_Business_Issue.CRD', 0),
('Debit_Business_RePIN.CRD', 1),
('ATM_Issue.CRD', 1),
('ATM_RePIN.CRD' ,0),
('Debit_Business_Issue.CRD', 1),
('Debit_Business_RePIN.CRD', 0),
('ATM_Issue.CRD', 0),
('ATM_RePIN.CRD' ,1),
('Debit_Business_Issue.CRD', 1),
('Debit_Business_RePIN.CRD', 0),
('ATM_Issue.CRD',...
January 25, 2012 at 11:38 am
GilaMonster (1/23/2012)
Geoff A (1/23/2012)
this is pretty much my option 1, no?
If there's only ever 1 or 0 matching rows, kinda yes.
If there could be more, then no, not performance...
January 23, 2012 at 12:20 pm
SQL Kiwi (1/23/2012)
January 23, 2012 at 12:19 pm
GilaMonster (1/23/2012)
CREATE PROCEDURE [dbo].[sp_GGA_Testing_3] @status INT, @ID INTAS
IF EXISTS (SELECT 1
...
January 23, 2012 at 12:13 pm
Great article Wayne. This is great info to have when management wants to know why we are always upgrading 😀
January 19, 2012 at 8:14 am
based on what you said, you must be shrinking the log file too. you should stop that if you are.
auto grow will grow as needed that is true, but it...
January 18, 2012 at 2:16 pm
you can't. by default the page size is 8.5 x 11 and the report will fit onto that (or many pages) if needed.
you can of course, change the size to...
January 18, 2012 at 2:08 pm
ok, try this one. I used your same tmp tables and logic, i only changed your cte into a table variable for the update and changed the join to compare...
January 18, 2012 at 1:27 pm
disregard my previous post. I see what you are after now... I will get back to you.
January 18, 2012 at 11:19 am
your explanation is a bit unclear as why you want NULLs. can't you just eliminate the possibility of generating NULL's??
if object_id('tempdb.dbo.#Calendar') > 0 drop table #Calendar
create table #Calendar(Exchange...
January 18, 2012 at 11:06 am
Agreed Gail, but without firing up SQL Profiler, it is sometimes a good start.
seems the poster just needs a push to start looking somewhere.
January 18, 2012 at 8:20 am
you could start by looking at your 10 worst performing queries;
SELECT DISTINCT TOP 10
t.TEXT QueryName,
s.execution_count AS ExecutionCount,
s.max_elapsed_time AS MaxElapsedTime,
ISNULL(s.total_elapsed_time / 1000 / NULLIF(s.execution_count, 0), 0) AS AvgElapsedTime,
s.creation_time AS LogCreatedOn,
ISNULL(s.execution_count /...
January 18, 2012 at 8:10 am
Viewing 15 posts - 196 through 210 (of 455 total)