Viewing 15 posts - 1 through 15 (of 443 total)
It's really quite straightforward
Where X and Y are the two values from your results (OS.RecordCount and INS.RecordCount respectively ) use the following formula (a simplified version of your own):
(y-x/y)*100
In your...
January 10, 2020 at 2:41 pm
Another possibility is extracting a DACPAC for the DB in question and building an empty one from that.
I generally dislike DACPAC, but this might be a great use...
January 8, 2020 at 4:06 pm
November 14, 2019 at 8:41 am
*reply deleted*
October 31, 2019 at 10:00 am
Have you tried in an incognito window, or another browser?
September 13, 2019 at 10:59 am
September 12, 2019 at 8:19 am
Without the additional info we can only guess at your full reqirements.
My first 'guess' is as follows
CREATE TABLE #T (Type CHAR(1),Year INT, MOnth CHAR(3), Car VARCHAR(50), Amount...
September 6, 2019 at 8:09 am
Hi,
You will need to you provide some further information before anyone can help you with your problem.
Include at least the following:
i. DDL For the tables in question.
ii. Readily consumable data...
September 6, 2019 at 7:43 am
It looks like it's obecting to the pipe symbol ( | ) in that command line.
You may have to do it in more than 1 step ie. redirect the output...
August 21, 2019 at 8:14 am
I am embarrassed. Found out that some idiot user had indeed entered bad data.
Ahah! Users ( ******!!) who needs 'em ? ๐
June 25, 2019 at 3:16 pm
NVM. I found the issue. Thanks.
Which was .... ?
June 25, 2019 at 3:10 pm
Why do you think your results are wrong ?
Your where clause clearly states that you want all rows with an END_DATE greater than 1st Jan 2019.
And any date in the...
June 25, 2019 at 2:46 pm
The calc I suggested will give you an offset in quarters from the 'DateKey' , so:
0 = current quarter
-1 = Previous quarter
1=Next
etc.
(Hint: try it in a select statement just to...
May 23, 2019 at 9:43 am
Try doingย something with this :
DATEDIFF(MONTH,0,c.DateKey)/3 - DATEDIFF(MONTH,0,@TodaysDate)/3
May 23, 2019 at 9:01 am
Viewing 15 posts - 1 through 15 (of 443 total)