Viewing 15 posts - 1,126 through 1,140 (of 6,036 total)
SELECT CONVERT(TIME,CONVERT(SMALLDATETIME, @StartTime2))
October 5, 2016 at 3:23 pm
mrpolecat (9/25/2016)
If an agreement starts on 1/1/2016 then the baseline incentive...
October 5, 2016 at 3:14 pm
Matt Miller (#4)
Don't forget to incorporate the "sliding window" into your production version of this. In other words - if you're trying to capture all "readmits" in August you'd...
October 5, 2016 at 1:57 pm
chef423 (10/4/2016)
I am attempting to convert a table called 'Inactive' which is a Boolean table. Its referenced from a...
October 4, 2016 at 10:05 pm
valeryk2000 (10/3/2016)
October 3, 2016 at 3:52 pm
valeryk2000 (9/30/2016)
If somebody's interested, I attach my test data set with results for both codes.Sorry for Excel but it can be easily imported into SS2K8 using import wizard
Thanks for the...
October 3, 2016 at 3:13 am
valeryk2000 (9/29/2016)
Testing update:J Livingston's code runs OK - same results as in Sergiy's.
Thanks a lot!
Actually, our codes return quite different results.
Probably not on the set you're looking at, but nevertheless.
Here...
September 29, 2016 at 3:01 pm
Oh, gosh, so much SQL...
So complicated code is not needed at all, if we think about the task.
We need to find which admissions have following up re-admissions of the same...
September 28, 2016 at 5:01 am
milindthakkar (9/22/2016)
We have bit of weird issue at hand. Assume, we have two tables A and B and I am trying to insert values from B to A. And...
September 25, 2016 at 11:15 pm
SueBrown (9/24/2016)
For example if a case was open on 8/26 at 4pm and closed on 8/29 at 10 am it would be 5 hours to close.
Can you explain how do...
September 25, 2016 at 10:37 pm
scottlackey2001 (9/22/2016)
During processing a stored proc updates a specific record in a table, thus the deadlock occurs between the two processes
Deadlocks do not happen when a single record gets updated.
There...
September 25, 2016 at 8:08 pm
ghughes (9/23/2016)
September 24, 2016 at 7:56 am
Do you know if a passed parameter is handled the same way as a variable once in a stored proc?
Basically, yes.
The only difference appears when you have a value...
September 24, 2016 at 7:51 am
Smendle (9/23/2016)
I bolded and italicized the key word in the OP question
How do I initialise a sql variable to 0 in stored-procedure ?
Maybe the correct answer is "You cant",...
September 23, 2016 at 11:41 pm
You need to read CAST and CONVERT on MSDN:
September 23, 2016 at 3:55 am
Viewing 15 posts - 1,126 through 1,140 (of 6,036 total)