Viewing 15 posts - 226 through 240 (of 627 total)
Something tells me you were trying something like this:
DECLARE @myTable TABLE (Applicants_ID INT, APPL_CURRENT_STATUS VARCHAR(2), APPL_CURRENT_STATUS_DATE DATETIME)
INSERT INTO @myTable
VALUES (1111111, 'RF', '2014-07-10 00:00:00.000'), (1111111, 'RW', '2012-06-01 00:00:00.000'), (1111111, 'AT', '2015-05-06...
July 27, 2016 at 7:42 am
Luis Cazares (7/26/2016)
djj (7/26/2016)
TomThomson (7/24/2016)
Jeff Moden (7/24/2016)
Hugo Kornelis (7/22/2016)
Ed Wagner (7/22/2016)
djj (7/22/2016)
whereisSQL? (7/22/2016)
crookj (7/22/2016)
Ed Wagner (7/22/2016)
Luis Cazares (7/22/2016)
Grumpy DBA (7/22/2016)
Revenant (7/22/2016)
Ed Wagner (7/22/2016)
Luis Cazares (7/22/2016)
crookj (7/22/2016)
RedBlue
Sky
Rainbow
Pot o' gold
leprechaun
Irish
Pub
Brawl
Fisticuff
Fight
That will give...
July 26, 2016 at 8:03 am
Unfortunately sometimes non work factors forces your hand. I have shared custody of my son which restricts the region where I can work. On top of that the...
July 22, 2016 at 7:20 am
Ed Wagner (7/22/2016)
djj (7/22/2016)
Ed Wagner (7/21/2016)
djj (7/21/2016)
whereisSQL? (7/21/2016)
crookj (7/21/2016)
HappyGeek (7/21/2016)
Ed Wagner (7/21/2016)
Revenant (7/21/2016)
djj (7/18/2016)
whereisSQL? (7/18/2016)
TieLose
Gracious(ly)
Humility
Humble
Modest
Mouse
Trap
Skeet
Shoot
Range
Rover
July 22, 2016 at 7:07 am
Sean Lange (7/20/2016)
Y.B. (7/20/2016)
Granted, I'm having a really bad day and could have responded better...on the other hand...
July 20, 2016 at 2:29 pm
Steve Jones - SSC Editor (7/20/2016)
Y.B. (7/20/2016)
Granted, I'm having a really bad day and could have responded better...on...
July 20, 2016 at 2:23 pm
Another difference between temp tables and table variables that I like keep in mind is that you can't refer to a table variable inside dynamic sql unless it was declared...
July 20, 2016 at 2:15 pm
I got a PM from an OP saying simply 'douche bag'. LOL
Granted, I'm having a really bad day and could have responded better...on the other hand at least he...
July 20, 2016 at 1:46 pm
This is too vague for us to give you an answer...
July 20, 2016 at 12:57 pm
Eric M Russell (7/20/2016)
Create a table to contain one row for each DBA along with their contact details and what days of...
July 20, 2016 at 7:13 am
Luis Cazares (7/20/2016)
Ever thought about using a bit column?
+1
You won't have to worry about constraints with a bit. You can map it to whatever you want on the front...
July 20, 2016 at 7:10 am
Luis Cazares (7/14/2016)
Y.B. (7/14/2016)
What you originally proposed isn't that complicated...
I suggest that you follow the link I posted. There's a similar version of your code which runs about 4 times...
July 14, 2016 at 2:28 pm
What you originally proposed isn't that complicated...
with t as (
select 1 as Comp, 'a' as Person union all
select 2 as Comp, 'a' as Person union all
select 3 as Comp, 'a'...
July 14, 2016 at 12:28 pm
Luis Cazares (7/11/2016)
djj (7/11/2016)
Ray K (7/11/2016)
Ed Wagner (7/11/2016)
LionTiger
Bears (oh, my)
Care
Package
July 11, 2016 at 1:13 pm
djj (7/11/2016)
Y.B. (7/11/2016)
July 11, 2016 at 9:07 am
Viewing 15 posts - 226 through 240 (of 627 total)