Viewing 15 posts - 6,946 through 6,960 (of 8,760 total)
My 2Cents and a workable workaround, always preview! Had few embarrassments in the past:blush:
😎
September 25, 2014 at 12:26 pm
Quick question if StorePurchaseDate is not null is the OnlinePurchaseDate null and vice versa? Or do you have an OnlinePurchase flag?
😎
September 25, 2014 at 12:17 pm
Just being a "little" pedantic and of course way off topic, for ad hoc sequence generation, sys.syscolumns is not the best choice, consider these three queries
😎
/* Query one, relative cost...
September 25, 2014 at 11:30 am
Quick thought, although source control systems are fine and in fact should always be in place, they are not holistic/comprehensive change management/monitoring/control systems. For those purposes they rely on...
September 25, 2014 at 11:07 am
TomThomson (9/25/2014)
1: the explanation is misleading. It says "The RAND function only produces one value for all calls in a specific connection with a...
September 25, 2014 at 10:58 am
Good stuff!
Out of curiosity, what is the output of
select @@version
after the fix?
😎
September 25, 2014 at 9:41 am
waeva (9/25/2014)
yeah, i guess the answer was simple 🙂
Nicely put!
😎
September 25, 2014 at 9:38 am
Here is a simple solution using CTE to build the full month-account set first and then join the balance table to it.
😎
USE tempdb;
GO
SET NOCOUNT ON;
GO
;WITH ACCOUNT_LIST AS
(
...
September 24, 2014 at 11:45 pm
Quick question, is the database in SIMPLE recovery mode?
😎
September 24, 2014 at 10:55 pm
Quick thought to rule out some problems, have you checked the logs for error messages or the output of DBCC CHECKDB?
😎
September 24, 2014 at 9:55 pm
goldstone.david (9/24/2014)
SELECT * FROM...
September 24, 2014 at 3:23 pm
busraker (9/24/2014)
September 24, 2014 at 3:18 pm
Viewing 15 posts - 6,946 through 6,960 (of 8,760 total)