Viewing 15 posts - 8,296 through 8,310 (of 9,643 total)
If currently the data from DB2 is being loaded nightly, why is there a need to hit it dynamically now?
Also your biggest hit as a percentage of the query plan...
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
July 23, 2008 at 8:45 am
Please do not cross post. Original post is here: http://www.sqlservercentral.com/Forums/Topic539275-1063-1.aspx
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
July 23, 2008 at 8:16 am
You do not have to drop the Primary Key constraint on table1 as you can update values in a Primary Key Column. Have you attempted to isolate the alter...
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
July 23, 2008 at 7:56 am
It would be easier to read your execution plans if you saved them as .sqlplan and attached the files to your post. Then we could open them in SSMS...
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
July 23, 2008 at 7:42 am
GSquared (7/22/2008)
I recommend against messing around with the code in msdb. Don't change the trigger, don't add one.Manually modifying that kind of stuff in system databases always bothers me.
I'm...
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
July 22, 2008 at 2:02 pm
Dev (7/22/2008)
My requirement is to compare count of a table between a hour difference and if it remains same i do the next task.
For exapmle, here in the below...
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
July 22, 2008 at 2:00 pm
Are you getting it for any other Windows user or group? Can you get a test Windows user setup for you to experiment with? Do you have another...
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
July 22, 2008 at 1:52 pm
Not that I am really advocating this, but you could put a trigger on the sysjobs table in msdb that logs changes. There actually is already an insert, update...
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
July 22, 2008 at 1:50 pm
Jeff,
When I run it the only difference I get is on the first one where there are no duplicate addresses, so depending on how you code it you get a...
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
July 22, 2008 at 1:20 pm
tfifield (7/22/2008)
I've been through the...
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
July 22, 2008 at 1:08 pm
Perry Whittle (7/22/2008)
datareader only applies to user tables so should be safe
Sure, but it applies to ALL user tables in the database. Using the datareader role is usually a...
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
July 22, 2008 at 12:18 pm
Perry Whittle (7/22/2008)
the datareader role should grant select on tables.of course you could modify the public role but i wouldnt recommend that
This would work but provides more
than the minimum rights,...
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
July 22, 2008 at 11:57 am
ctics112 (7/22/2008)
My apologies for not explaining the situation thoroughly. The stored proc is returning agents from states other than TX, FL, and LA. It is just that those states are...
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
July 22, 2008 at 10:33 am
You need to include the data type before the not null.
Alter table dbo.table
Alter Column column_name Int Not Null
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
July 22, 2008 at 9:42 am
DBCC ShrinkFile ([log file name]). Check out BOL for the rest.
You normally do not want to shrink the log as it will typically just grow again and the growth...
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
July 22, 2008 at 9:37 am
Viewing 15 posts - 8,296 through 8,310 (of 9,643 total)