Viewing 15 posts - 51,421 through 51,435 (of 59,098 total)
Andre T (3/31/2008)
So, basically, I do need the trigger to call my stored procedure for each item changed.
Absolutely NOT! That's RBAR on steroids and it will crush any hope...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 31, 2008 at 4:54 pm
Lots of great ideas on this thead...
At this point, I'd have to say "it depends"... like has already been said, both UDF's and Views can be written in horribly incorrect...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 31, 2008 at 4:49 pm
Ahmad Osama (3/27/2008)
souLTower (3/27/2008)
-- Remember to use procs to eliminate SQL injection
SELECT cid from CompanyNames where cname = [user...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 31, 2008 at 7:06 am
In almost all cases, neither a cursor nor any form of a While loop are required especially in SQL Server 2005.
Lots of folks use the guidline "when it can't be...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 31, 2008 at 7:02 am
It would be much more effective to output your data to a file and use Word to do a MERGE document.
--Jeff Moden
Change is inevitable... Change for the better is not.
March 31, 2008 at 6:53 am
Heh... Gail is spot on... and it ticks some of us off so bad, we won't respond with anything useful.
--Jeff Moden
Change is inevitable... Change for the better is not.
March 31, 2008 at 6:52 am
On the subject of "Derived Tables", look into CTE's... they make for easier to read code and can be self aliased, if need be, without duplicating the "sub-query".
Also, take a...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 31, 2008 at 6:50 am
See? Exceptional DBA... 😀
--Jeff Moden
Change is inevitable... Change for the better is not.
March 31, 2008 at 6:46 am
Jack Corbett (3/30/2008)
--Jeff Moden
Change is inevitable... Change for the better is not.
March 31, 2008 at 6:02 am
Sam's example is not an exception, either. I've heard the same story more than once.
Also, Sam is spot on about "hard work" and "common sense". There are a...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 31, 2008 at 6:01 am
Robert (3/31/2008)
Maybe because he/she means the broader meaning of cursor.
Considering the level of the question, I wouldn't think so. I sure wish the OPs would answer these questions so...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 31, 2008 at 5:51 am
Most people crab about the duplicate disk space while that happens. If you don't mind that, then yes, the method you spoke of will be faster.
The problem is, the...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 31, 2008 at 5:40 am
chinni (3/30/2008)
they asked to use curser becoz it needs to check the records every time for the changes for every baselineobject...........
I don't understand... why do you think that requires a...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 30, 2008 at 5:26 pm
10813 is in milliseconds... 10813330 is in microseconds... divide micoseconds by 1000 to get milliseconds.
--Jeff Moden
Change is inevitable... Change for the better is not.
March 30, 2008 at 5:22 pm
Do a search for "Audit Log"...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 30, 2008 at 5:18 pm
Viewing 15 posts - 51,421 through 51,435 (of 59,098 total)