Viewing 15 posts - 4,051 through 4,065 (of 26,490 total)
rcooper 78099 (3/17/2016)
;with cte as (select chppon, datediff(day,
case when chrcdt between 19000101 and 30000101 then
convert(date,cast(chrcdt as varchar(8)),112) end,
cast(CURRENT_TIMESTAMP as date)) as Age
from clmhdr
where chstat <> 'f'...
March 17, 2016 at 2:08 pm
rcooper 78099 (3/17/2016)
I tested that but it still doesn't like that second select for some reason
Try this:
with cte as (
select
chppon,
datediff(day, case when...
March 17, 2016 at 2:05 pm
Try converting the integer values to character strings first, then to datetime.
March 17, 2016 at 12:07 pm
Redgate has a tool that will do that for you, SQL Compare.
Not sure what the cost is off the top of my head.
Disclaimer: I am not a Redgate employee...
March 17, 2016 at 11:31 am
I am going to say that it depends on what your are trying to accomplish. Your question is actually a little vague on what you are trying to accomplish.
March 17, 2016 at 10:28 am
scott.t.rider (3/17/2016)
March 17, 2016 at 10:22 am
Ed Wagner (3/16/2016)
jasona.work (3/16/2016)
So, several (most) of my servers have silly-small C:\ drives for the OS. This hasn't been a problem until recently, now...
March 16, 2016 at 12:30 pm
VSSGeorge (3/16/2016)
But one cursor, still hard to remove. Please guide me on this.
If further improvements are possible, please comment on that...
March 16, 2016 at 10:09 am
yb751 (3/15/2016)
Lynn Pettis (3/15/2016)
Or paid cash to avoid paying 20% interest on a loan. 😀
That's definitely the way to go if that's an option. However, I've never seen...
March 15, 2016 at 1:34 pm
Lowell (3/15/2016)
all that does is turn the string into a table. join that to another real table.
replace the function with dbo.DelimitedSplit8k(@Specimen,','); and CROSS APPLY...
March 15, 2016 at 1:14 pm
yb751 (3/15/2016)
Steve Jones - SSC Editor (3/15/2016)
JustMarie (3/15/2016)
Steve Jones - SSC Editor (3/15/2016)
One bit of advice. Work with your body shop to make sure that the repairs come...
March 15, 2016 at 12:59 pm
Not familiar with the product/service or how it works. I am going to have to start leaning to a rebuild of the server that Brandie recommended. That could...
March 15, 2016 at 11:32 am
Steve Jones - SSC Editor (3/15/2016)
March 15, 2016 at 11:26 am
I am not going to agree with Brandie right off the top. What are you using for your backups? Is this system part of a high availability solution...
March 15, 2016 at 10:19 am
I have to agree with everything that has been said so far. This is going to need to be rewritten. You need to step back and work it...
March 15, 2016 at 10:00 am
Viewing 15 posts - 4,051 through 4,065 (of 26,490 total)