Viewing 15 posts - 2,161 through 2,175 (of 3,656 total)
Sad:
Just found out why it was so important to back up the database master key.
Forgot to put a WHERE clause on a DELETE/UPDATE.
Selfish:
Implements something in LIVE 5 minutes before leaving...
January 8, 2008 at 12:38 pm
Do you have the option to move use another server as your distributor?
I'm thinking that if your production server fills due to growth in your distribution database then this will...
January 6, 2008 at 11:54 am
I'm not sure about that Jeff.
I have come across situations where the firehose cursor is faster than the loop.
I pinned it down to the loop running many separate queries where...
December 28, 2007 at 3:59 pm
SELECT P.*
FROM PurchaseOrders AS P
INNER JOIN (
SELECT PurchaseOrderNumber, Max(Posuf) AS LastPosuf
FROM PurchaseOrders
GROUP BY PurchaseOrderNumber
) AS PM
ON P.PurchaseOrdernumber = PM.PurchaseOrdernumber
AND P.Posuf = PM.LastPosuf
December 28, 2007 at 2:48 pm
I know of a company who use "The company can't afford it" whenever staff perks com up, or for that matter whenever the annual bonus is due.
This is the same...
December 28, 2007 at 1:44 pm
You could always fall back to the old
SET ROWCOUNT @Variable
SELECT ....etc
SET ROWCOUNT 0
In terms of set based processing it simply means that you look at the data as a whole...
December 28, 2007 at 1:37 pm
The fundamental ideas about Agile Development XP, RUP, AUP etc are good, it is the practice that worries me.
In Britain, industry wants a cheap temporary fix that will last for...
December 21, 2007 at 12:43 pm
so when the application developed using 'agile' techniques does not perform, do they blame the database and tell the client DBA to fix it?.........:D
I sometimes think that companies hire DBAs...
December 19, 2007 at 12:33 pm
All the articles I have read on agile development acknowledge that the database layer is the one that acts as a bottle neck.
Agile development is about completing a single project...
December 18, 2007 at 8:59 am
I've played around with schemas a bit and the problems I have had have been to do with security. To be more precise, granting access to objects in one...
December 18, 2007 at 8:29 am
In terms of design I would have 3 tables
1. Location
2. User
3. LocationUserMap
This means that locations and users are independent and the relationship between them is held in the mapping table.
December 18, 2007 at 8:13 am
Jeff Moden (12/14/2007)
So why do you recommend creating the table first?
Using SELECT INTO to create the initial table structure with no records is "blink of an eye" fast.
SELECT INTO to...
December 17, 2007 at 12:32 pm
So why would SELECT INTO not lock sysobjects?
Surely any form of creation of an object would have a small lock on sysobjects?
The other point is, how often are records created...
December 14, 2007 at 6:25 am
Jeff, I have found that small amounts of data in table variables outperforms the same thing done in temporary tables.
As data volumes increase table variables rapidly lose any advantage. ...
December 14, 2007 at 6:22 am
Viewing 15 posts - 2,161 through 2,175 (of 3,656 total)