Viewing 15 posts - 31 through 45 (of 141 total)
When I do a sp_who2 it shows the proc as blocking, not sure which statement in the proc is doing it. I guess I can split it into two and...
Dave
Trainmark.com IT Training B2B Marketplace
(Jobs for IT Instructors)
September 22, 2005 at 3:41 pm
Ok then ganeshmuthuvelu's advice will do. You can preface it with a statement that checks if the table exists and if not create it before you do you select into....
Dave
Trainmark.com IT Training B2B Marketplace
(Jobs for IT Instructors)
September 17, 2005 at 5:08 pm
Try using DTS. There is a copy SQL objects tool that will do what you want and has all the options for you to turn on and off.
*IMPORTANT NOTE: Turn...
Dave
Trainmark.com IT Training B2B Marketplace
(Jobs for IT Instructors)
September 17, 2005 at 2:48 pm
Is there anything in the smtp logs to give you a clue?
*I had a devil of a time deugging a problem like this and it turned out that you couldn't...
Dave
Trainmark.com IT Training B2B Marketplace
(Jobs for IT Instructors)
September 16, 2005 at 6:15 pm
I really like the envelope method.
Assuming that the envelop is not kept under lock and key. If I want to make an unauthorized change to the production db...
Dave
Trainmark.com IT Training B2B Marketplace
(Jobs for IT Instructors)
September 16, 2005 at 2:09 pm
OMFG. Wow am I ever glad I am located and do business in Canada. SOX sounds like a nightmare!
I agree with the earlier poster, with so much division of duties...
Dave
Trainmark.com IT Training B2B Marketplace
(Jobs for IT Instructors)
September 16, 2005 at 12:43 pm
"My resultset is still off a bit....still working on it. I can't wait til we hire a programmer and I can go back to Photoshop!"
LOL Your doing great!
If the...
Dave
Trainmark.com IT Training B2B Marketplace
(Jobs for IT Instructors)
September 16, 2005 at 12:18 pm
Whoops, sorry you need to provide the replacement value for isnull()
Not sure if this is very efficient but you could use a derived statement:
select isnull(t.totPaid,0), isnull(t.totCancel,0), isnull(t.totOpen,0), isnull(t.totBillAmount,0)
From (select...
CASE WHEN...
Dave
Trainmark.com IT Training B2B Marketplace
(Jobs for IT Instructors)
September 16, 2005 at 10:39 am
I am not sure if the statment is going to do want you want, but nonetheless I think the two possible values in the case need to match.
eg.
case when snee...
Dave
Trainmark.com IT Training B2B Marketplace
(Jobs for IT Instructors)
September 16, 2005 at 10:34 am
Yup its case dependent. For my current project there are only 5 params but there is not much load. (small tables few users). In another project of mine there...
Dave
Trainmark.com IT Training B2B Marketplace
(Jobs for IT Instructors)
September 6, 2005 at 9:43 am
Good advice. I have just started to use profiler. I have much to learn there. I don't go out of my way to avoid joins, I normalize to a...
Dave
Trainmark.com IT Training B2B Marketplace
(Jobs for IT Instructors)
September 5, 2005 at 10:02 pm
Yes that's what I meant as well.
Using the covering index in both queries turned out at 60%/40%.
Using the covering for the derived table method but targeted indexes for...
Dave
Trainmark.com IT Training B2B Marketplace
(Jobs for IT Instructors)
September 5, 2005 at 9:20 pm
Yes I did. The result using that index was 60/40 in favor of the derived table method.
When I wrote the UNION so that each select uses the appropriate index for...
Dave
Trainmark.com IT Training B2B Marketplace
(Jobs for IT Instructors)
September 5, 2005 at 7:40 pm
Hmm something weird. I just ran it again but in I fixed my union statement so that each select used the correct index. eg. where fname used the fname...
Dave
Trainmark.com IT Training B2B Marketplace
(Jobs for IT Instructors)
September 5, 2005 at 11:09 am
I ran both queries again first with one index (lname) then with both lname,fname. When I run them both in the same QA window it shows a percent cost...
Dave
Trainmark.com IT Training B2B Marketplace
(Jobs for IT Instructors)
September 5, 2005 at 11:05 am
Viewing 15 posts - 31 through 45 (of 141 total)