Viewing 15 posts - 7,021 through 7,035 (of 7,608 total)
Based on Dr Codd's rule, ALL existing relational DBMSs are "fundamentally wrong". NONE of them come close to implementing even the initial 12 "rules".
So, if we all behaved as...
December 13, 2012 at 9:30 am
CELKO (12/11/2012)
December 12, 2012 at 5:48 pm
Are you trying to make a numeric comparison against the data? That won't work in SQL Server because the "+" (or "-") sign has to be leading, not trailing....
December 12, 2012 at 5:43 pm
CELKO (12/12/2012)
Those silly 1960s BASIC “tbl-” prefixes violate ISO-11179 and basic data modeling.
That's a silly comment because 1960s basic wouldn't allow a "-" (minus) in a name anyway!
a-b was perfectly...
December 12, 2012 at 5:39 pm
Is the name "IDeleted" on the INSERT statement just a typo for "IsDeleted", as it appears on the table? Or could the mistyped column name be causing you the...
December 10, 2012 at 4:40 pm
Jeff Moden (12/7/2012)
Rob-350472 (12/7/2012)
December 10, 2012 at 4:27 pm
Replication could be problematic as SQL will replicate the DELETEs as well as the INSERTs.
Also, do you need to capture UPDATE activity or just INSERTs?
Finally, are you on Enterprise or...
December 10, 2012 at 4:17 pm
I would think the old, trusty MAX() would be clearer and less overhead than the mirrored function:
DELETE FROM tn
FROM dbo.tablename tn
INNER JOIN (
SELECT location, MAX(bookid) AS...
December 10, 2012 at 4:12 pm
Yes, if you can, it would be much better to store from and to currencies as separate columns.
But, either way, you don't need to store 2 conversion rates, only one,...
December 10, 2012 at 4:03 pm
--If the final total will be <= 24 hrs, you can do this:
SELECT CONVERT(char(5), DATEADD(MINUTE, DATEDIFF(MINUTE, STUFF(STUFF(date_column1, 9, 0, ' '), 12, 0, ':'), STUFF(STUFF(date_column2, 9, 0, ' '), 12,...
December 7, 2012 at 1:37 pm
One or more them could also be exception/override tables. They may be empty in your case because currently you don't have any exceptions to normal processing rules/conditions. But...
December 7, 2012 at 11:38 am
DarthBurrito (12/7/2012)
December 7, 2012 at 11:35 am
Jeff Moden (12/6/2012)
patrickmcginnis59 (12/6/2012)
Jeff Moden (12/6/2012)
patrickmcginnis59 (12/6/2012)
Jeff Moden (12/4/2012)
December 7, 2012 at 8:08 am
Jeff Moden (12/5/2012)
ScottPletcher (12/5/2012)
Jeff Moden (12/4/2012)
ScottPletcher (12/4/2012)
This for a simple, introductory interview q, when I often...
December 5, 2012 at 9:47 pm
Yeah, the 10% is awful. I'm afraid I don't see the point of resetting to something almost as bad.
Why not create default growth tables based on total size, one...
December 5, 2012 at 7:09 pm
Viewing 15 posts - 7,021 through 7,035 (of 7,608 total)