Viewing 15 posts - 3,616 through 3,630 (of 5,103 total)
Well this trigger is just plain wrong if multiple rows can be affected in one shot!
The Trigger can probably be written in just two statements 1 update and one insert!...
June 21, 2005 at 12:29 pm
Well, let's hope that his shop is not 24/7 and even if it is not depending on the data 12 hours can be devastating for certain companies
June 21, 2005 at 12:16 pm
>>The database is set up with 'truncate transaction log with checkpoint' option.So may be thats why we dont have earlier transaction logs.<<
Well, you have learned the hard way that Production DB...
June 21, 2005 at 12:10 pm
looks like in the end you are listening and hope fully do this client side.
The three loops I was mentioning were:
1. for the number of roots
2.for the spacing of them
3.for...
June 21, 2005 at 12:01 pm
just Wrap the query in a select statement SQL is smart enough!
select X
from
( THE QUERY) derived
June 21, 2005 at 10:46 am
I may depending on how much weight the order by have in the Total Query cost: ie.: if the order by operates in small resultant set it may be not a...
June 21, 2005 at 10:32 am
I think that where you need to sharpen the pencil is on the optimizations job. You could make it scripted so that you pick an choose what needs to be...
June 21, 2005 at 10:21 am
I am assuming your database is in Full reovery mode, Right?
and that you have all TRN logs backups since last Full DB Backup right?
no matter what you do Backup the...
June 21, 2005 at 10:09 am
select Id
from Employee
where Right(convert(char(6),DOB,12) ,4) between '0201' and '0515'
June 21, 2005 at 10:05 am
With Brute force, it will all depend on how soon you find the match ![]()
Think of it as a Dictionary Attack, sometimes they...
June 21, 2005 at 9:59 am
Like I said before, Don't try to reinvent the wheel!
Find your self a book of polynomial root detection and you will save plenty of time!!!
but if you plan to...
June 21, 2005 at 9:40 am
When you run the 1st Case you actually CLOSED the connection before the second EXEC.
In the 2nd instance ALL SQL is executed as mentioned above within the SAME SCOPE!
hth
June 21, 2005 at 9:00 am
well for a fixed number of values you may try to implement Ruffinis' method for polinomial root detection. I have to brush up my math!
June 21, 2005 at 8:55 am
Viewing 15 posts - 3,616 through 3,630 (of 5,103 total)