Viewing 15 posts - 1 through 15 (of 23 total)
Update:
I just amended the code to add a line to the join clause only letting through those records with a VINT > 0:
SELECT
i.CPSP35
,i.VINT35
,(i.CPSP35 / i.VINT35) as High
FROM...
August 17, 2015 at 8:32 am
GilaMonster (8/17/2015)
SELECT
i.CPSP35
,i.VINT35
FROM dbo.SSCCWorderExtract e
WHERE VINT35 = 0
SQL may run the division before it does the filter and join, so if there are rows with VINT35...
August 17, 2015 at 8:25 am
It might be worth adding that Facebook runs on MySQL and PHP with in excess of 50 million transactions per second (as of a couple of years ago anyway).
March 4, 2015 at 8:25 am
ChrisM@Work (2/4/2015)
SELECT
RecordLastChangedDateKey,
CAST(CAST(RecordLastChangedDateKey AS CHAR(8))AS DATE)
FROM (SELECT RecordLastChangedDateKey = CAST(20150204 AS INT)) im
Thanks but its still giving me the message "The view contains a convert that is imprecise or...
February 4, 2015 at 6:01 am
Thanks EdVassie for that response. Very interesting stuff.
June 30, 2014 at 6:35 am
I used your code and adapted it as there was an issue where the directory couldn't be deleted if it contained files (or it could have been to do with...
March 25, 2014 at 6:45 am
I'm not verifying it exists at all. I'm just deleting it, and when it doesn't exists, then I have a problem. I suppose that's my question now then isn't it,...
March 24, 2014 at 5:14 am
Andy this is turning into a really interesting series and I can't wait to see what further BIML wizardry you've got in store for us.
September 9, 2013 at 8:07 am
Andy Leonard (7/17/2013)
theboyholty (7/17/2013)
July 17, 2013 at 9:01 am
You mentioned an article in the Stairway Series called "Building an Incremental Load Package – Level 3" maybe I'm being thick but I couldn't find that article. There was one...
July 17, 2013 at 2:05 am
Jeff Moden (6/27/2013)
theboyholty (6/27/2013)
That code runs like lighting.
Maybe compared to the original code but with all of the RBAR you have in the code you posted, "lightning" isn't the word...
July 1, 2013 at 9:03 am
Purely in the interests of throwing the cat amongts the pigeons, you can write a line of code in a stored proc to drop itself you know. I know it...
June 27, 2013 at 9:24 am
I don't understand why so many people are so happy to be presented with a simple question, or so pleased with themselves for getting it right. personally I prefer something...
May 10, 2013 at 8:49 am
Jeff Burton (4/18/2013)
April 18, 2013 at 4:11 am
I'm more than a little surprised that this technique is being put about as being new or clever. Surely its the neatest and most logical way to deal with the...
April 18, 2013 at 4:06 am
Viewing 15 posts - 1 through 15 (of 23 total)