father to a sister of random thoughts

Re: father to a sister of random thoughts

Unread postby Soren » Fri May 16, 2014 12:31:31

BigEd76 wrote:"SELECT TOP 1 ..." ?


it's shit like this
Code: Select all
IDENTIFIER      ATTRIBUTE
-------------------------
100             AB
100             CD
100             EF
200             AB


Same client is like "nah there's no duplicates on this list." so yea
Olivia Meadows, your "emotional poltergeist"

Soren
Plays the Game the Right Way
Plays the Game the Right Way
 
Posts: 39874
Joined: Thu May 28, 2009 13:44:19
Location: area x

Re: father to a sister of random thoughts

Unread postby BigEd76 » Fri May 16, 2014 12:39:38

What does the full query look like?

BigEd76
You've Got to Be Kidding Me!
You've Got to Be Kidding Me!
 
Posts: 111160
Joined: Thu Dec 28, 2006 18:13:03
Location: 40.155/-74.829

Re: father to a sister of random thoughts

Unread postby Soren » Fri May 16, 2014 12:58:50

I got this monstrosity to run

Code: Select all
update JM_NOVARTIS_WAVE2_MAY14 SMP
set EXP_SPEC = (
  select distinct EXP.SPEC_GRP
  from (
      select distinct EXP.MENUM10, EXP.SPEC_GRP
      from JM_NOV_EXPATCH_20140226 EXP
      JOIN JM_NOVARTIS_WAVE2_MAY14 SMP
      ON EXP.MENUM10 = SMP.MENUM10
      WHERE EXP.SPEC_GRP in
      ('CCM', 'EFM', 'EM', 'EN8', 'FP', 'FPG', 'GER',
      'GP', 'HOS', 'IFP', 'IM', 'IM7', 'MEM', 'MP',
      'PCC', 'PUD', 'N', 'N9', 'NS', 'NS9', 'P',
      'P9', 'PYG', 'PYN')
      and exp.menum10 <> '4954875012'
  ) EXP
  WHERE EXP.MENUM10 = SMP.MENUM10
);
Olivia Meadows, your "emotional poltergeist"

Soren
Plays the Game the Right Way
Plays the Game the Right Way
 
Posts: 39874
Joined: Thu May 28, 2009 13:44:19
Location: area x

Re: father to a sister of random thoughts

Unread postby BigEd76 » Fri May 16, 2014 13:08:16

If I understand that query, you're taking a daily file and comparing it to something from February and getting several specialty groups returned, then you're trying to update the daily file to set a specialty field to what could be any number of specialty groups, so it doesn't know which one you want to use. That query would be OK if MENUM10 and SPEC_GRP were tied together 1:1, but since they aren't, you're going to need more conditions on the highest WHERE.
Last edited by BigEd76 on Fri May 16, 2014 13:17:01, edited 1 time in total.

BigEd76
You've Got to Be Kidding Me!
You've Got to Be Kidding Me!
 
Posts: 111160
Joined: Thu Dec 28, 2006 18:13:03
Location: 40.155/-74.829

Re: father to a sister of random thoughts

Unread postby Youseff » Fri May 16, 2014 13:16:25

never been to San Francisco?

Image

Congrats - now you've got the general gist of it.
This is what a real tenderoni likes to do for you

Youseff
Space Cadet
Space Cadet
 
Posts: 22976
Joined: Sun Jan 21, 2007 03:47:53
Location: Ice Mountain

Re: father to a sister of random thoughts

Unread postby Soren » Fri May 16, 2014 13:21:50

BigEd76 wrote:If I understand that query, you're taking a daily file and comparing it to something from February and getting several specialty groups returned, then you're trying to update the daily file to set a specialty field to what could be any number of specialty groups, so it doesn't know which one you want to use. I think you might need to return the EXP.MENUM10 in the second/higher subquery and add a second condition to the WHERE at the bottom


JM_NOV_EXPATCH_20140226 --client target list that was originally uploaded and matched in February
JM_NOVARTIS_WAVE2_MAY14 --table tracking recruitment results across 5 different studies for the same client

The SPEC_GRP in clause is there because, again, there are duplicates with different spec_grps.

In either case, it ran, I got it to work, and FFS people learn how to manage your fucking data before just taking a dump on a spreadsheet and emailing it off to someone
Olivia Meadows, your "emotional poltergeist"

Soren
Plays the Game the Right Way
Plays the Game the Right Way
 
Posts: 39874
Joined: Thu May 28, 2009 13:44:19
Location: area x

Re: father to a sister of random thoughts

Unread postby mickbayne » Fri May 16, 2014 13:38:54

Need some advice regarding my little accident from yesterday... should I go through the claims process with my insurance company or with the at-fault driver's? First thing I did was open a claim with mine (state farm) on their website. Then I got a call from the representative saying I should go through the other driver's insurance company since it was their fault. So I opened a claim with them but haven't heard anything back. I called the adjuster a few minutes ago and she says she hasn't heard anything back from "the insured" so there's nothing they can do yet. Meanwhile my car is just sitting at my house because I can't bring it to a shop for an estimate and repairs until the adjuster gives me the okay. Shouldn't I be able to go through my own insurance company and have them deal with getting the claim stuff figured out with the other insurance company? Or would that make my premiums go up?
Another day, another box of stolen pens.

mickbayne
BSG MVP
BSG MVP
 
Posts: 5882
Joined: Sat Dec 30, 2006 02:13:43
Location: Tipsy McStagger's Good Time Drinking and Eating Emporium

Re: father to a sister of random thoughts

Unread postby BigEd76 » Fri May 16, 2014 13:52:27

From what I understand, if you go through your insurance and they're able to get the amount from the at-fault insurance, then nothing happens to your premiums (unless your company suddenly thinks you're a risk to get hit again), but the best-case scenario would be for your insurance company to never know about it

BigEd76
You've Got to Be Kidding Me!
You've Got to Be Kidding Me!
 
Posts: 111160
Joined: Thu Dec 28, 2006 18:13:03
Location: 40.155/-74.829

Re: father to a sister of random thoughts

Unread postby Wheels Tupay » Fri May 16, 2014 14:01:12




Lets be honest, they probably found like 100,000.
"That’s the Southwest Philly floater, man."
Now imagine that everything you ever imagined... is possible. - Hinkieology
EDP 2020

Wheels Tupay
Plays the Game the Right Way
Plays the Game the Right Way
 
Posts: 30615
Joined: Wed Dec 16, 2009 16:35:17
Location: Keepin' it Gritty.

Re: father to a sister of random thoughts

Unread postby lethal » Fri May 16, 2014 14:09:43

mickbayne wrote:Need some advice regarding my little accident from yesterday... should I go through the claims process with my insurance company or with the at-fault driver's? First thing I did was open a claim with mine (state farm) on their website. Then I got a call from the representative saying I should go through the other driver's insurance company since it was their fault. So I opened a claim with them but haven't heard anything back. I called the adjuster a few minutes ago and she says she hasn't heard anything back from "the insured" so there's nothing they can do yet. Meanwhile my car is just sitting at my house because I can't bring it to a shop for an estimate and repairs until the adjuster gives me the okay. Shouldn't I be able to go through my own insurance company and have them deal with getting the claim stuff figured out with the other insurance company? Or would that make my premiums go up?


If you go through your insurance, you probably have to pay the deductible. If you go through the ambulance insurance, you should have no deductible.

lethal
BSG MVP / ninja
BSG MVP / ninja
 
Posts: 10795
Joined: Thu Dec 28, 2006 18:00:11
Location: zOMGWTFBBQ?

Re: father to a sister of random thoughts

Unread postby mickbayne » Fri May 16, 2014 14:30:51

Thanks guys. I'll keep waiting for the other insurance company.
Another day, another box of stolen pens.

mickbayne
BSG MVP
BSG MVP
 
Posts: 5882
Joined: Sat Dec 30, 2006 02:13:43
Location: Tipsy McStagger's Good Time Drinking and Eating Emporium

Re: father to a sister of random thoughts

Unread postby Bucky » Fri May 16, 2014 15:58:31

lethal wrote:
mickbayne wrote:Need some advice regarding my little accident from yesterday... should I go through the claims process with my insurance company or with the at-fault driver's? First thing I did was open a claim with mine (state farm) on their website. Then I got a call from the representative saying I should go through the other driver's insurance company since it was their fault. So I opened a claim with them but haven't heard anything back. I called the adjuster a few minutes ago and she says she hasn't heard anything back from "the insured" so there's nothing they can do yet. Meanwhile my car is just sitting at my house because I can't bring it to a shop for an estimate and repairs until the adjuster gives me the okay. Shouldn't I be able to go through my own insurance company and have them deal with getting the claim stuff figured out with the other insurance company? Or would that make my premiums go up?


If you go through your insurance, you probably have to pay the deductible. If you go through the ambulance insurance, you should have no deductible.



but then (eventually) you should get your deductible refunded by the at-fault operator's insurance company.

Bucky
BSG MVP
BSG MVP
 
Posts: 58018
Joined: Fri Dec 29, 2006 19:24:05
Location: You_Still_Have_To_Visit_Us

Re: father to a sister of random thoughts

Unread postby smitty » Fri May 16, 2014 16:17:49

My insurance company, USAA (I qualified in Oklahoma in 1980) handles all that stuff. They better. Their clients are heavily armed.
Teams lie, sometimes for good reasons, sometimes for bad. They do it to get an advantage while they look at the trade market or just because they can

--Will Carroll

smitty
BSG MVP
BSG MVP
 
Posts: 45450
Joined: Sat Dec 30, 2006 03:00:27
Location: Federal Way, WA --Spursville

Re: father to a sister of random thoughts

Unread postby lethal » Fri May 16, 2014 16:51:57

Bucky wrote:
lethal wrote:
mickbayne wrote:Need some advice regarding my little accident from yesterday... should I go through the claims process with my insurance company or with the at-fault driver's? First thing I did was open a claim with mine (state farm) on their website. Then I got a call from the representative saying I should go through the other driver's insurance company since it was their fault. So I opened a claim with them but haven't heard anything back. I called the adjuster a few minutes ago and she says she hasn't heard anything back from "the insured" so there's nothing they can do yet. Meanwhile my car is just sitting at my house because I can't bring it to a shop for an estimate and repairs until the adjuster gives me the okay. Shouldn't I be able to go through my own insurance company and have them deal with getting the claim stuff figured out with the other insurance company? Or would that make my premiums go up?


If you go through your insurance, you probably have to pay the deductible. If you go through the ambulance insurance, you should have no deductible.



but then (eventually) you should get your deductible refunded by the at-fault operator's insurance company.


You're likely right. Only time I've ever been hit, both of us had geico and her car was worse off than mine, so she was sure to make the claim on her own car. Made it easy for me.

lethal
BSG MVP / ninja
BSG MVP / ninja
 
Posts: 10795
Joined: Thu Dec 28, 2006 18:00:11
Location: zOMGWTFBBQ?

Re: father to a sister of random thoughts

Unread postby Bucky » Fri May 16, 2014 16:55:44

Allstate waives the deductible if another involved vehicle is also insured by Allstate. My recent 3-car crash- no other Allstate. :(

Bucky
BSG MVP
BSG MVP
 
Posts: 58018
Joined: Fri Dec 29, 2006 19:24:05
Location: You_Still_Have_To_Visit_Us

Re: father to a sister of random thoughts

Unread postby swishnicholson » Fri May 16, 2014 17:08:13

Bucky wrote:Allstate waives the deductible if another involved vehicle is also insured by Allstate. My recent 3-car crash- no other Allstate. :(


Well I hope you learned your lesson. Next time hit the gas and see if you can increase your odds.
"No woman can call herself free who does not control her own body."

swishnicholson
BSG MVP
BSG MVP
 
Posts: 39187
Joined: Fri Dec 29, 2006 22:56:15
Location: First I was like....And then I was like...

Re: father to a sister of random thoughts

Unread postby Bucky » Fri May 16, 2014 17:09:07

swishnicholson wrote:
Bucky wrote:Allstate waives the deductible if another involved vehicle is also insured by Allstate. My recent 3-car crash- no other Allstate. :(


Well I hope you learned your lesson. Next time hit the gas and see if you can increase your odds.



HMMMMM. fair point there.

Bucky
BSG MVP
BSG MVP
 
Posts: 58018
Joined: Fri Dec 29, 2006 19:24:05
Location: You_Still_Have_To_Visit_Us

Re: father to a sister of random thoughts

Unread postby slugsrbad » Fri May 16, 2014 18:03:20

Got a flyer in the mail for a free haircut at a place that was more "sports bar than hair salon" and have been looking forward to it. The flyer says free drink and shoulder rub so I'm thinking beer and females because it's Friday and I'm feeling hedonistic. I get to the place and the drinks are water and it's a bunch of dudes. I'm slightly disappointed.
Quick Google shows that GoGo is wrong with regards to the Kiwi and the Banana.

Doll Is Mine wrote:This Ellen DeGeneres look alike on ESPN is annoying. Who the hell is he?

slugsrbad
Plays the Game the Right Way
Plays the Game the Right Way
 
Posts: 27586
Joined: Tue Jul 28, 2009 15:52:49

Re: father to a sister of random thoughts

Unread postby Bill McNeal » Fri May 16, 2014 18:12:58

Haha haha, that's fucking awful.
man I drew all these penises for nothing - housh

Bill McNeal
BSG MVP
BSG MVP
 
Posts: 27673
Joined: Thu Dec 28, 2006 21:05:24
Location: A Place To Be Somebody

Re: father to a sister of random thoughts

Unread postby Barry Jive » Fri May 16, 2014 18:17:07

what a shitty promo
no offense but you are everything that's wrong with America

Barry Jive
Plays the Game the Right Way
Plays the Game the Right Way
 
Posts: 37856
Joined: Wed Dec 26, 2007 21:53:43
Location: I'm Doug, solamente Doug.

PreviousNext