Viewing 15 posts - 406 through 420 (of 470 total)
Thanks Chris
I'm going to bookmark this little lot as I'm fairly certain it will come up again (and again, and again).
September 12, 2014 at 9:02 am
Thanks Chris
Just to check my understanding of this, it looks like the splitter will help to give each code it's own line number to start with.
Then, the SELECT after the...
September 12, 2014 at 8:42 am
You can have any of:-
Q22
Q23
Q24
ahead of either
Q07
Q08
As far as I know, you won't get more than one from each set.
The codes above could have one extra digit at the end...
September 12, 2014 at 7:34 am
Hi Chris
Here's the script with around 450 records. Not all of them will have one (or more) or each set of codes.
create table #test (Code varchar(1000))
insert into #test (Code)
select...
September 12, 2014 at 7:21 am
Scott - I want to keep an eye on the overall job as the steps within it could change/be added to.
If I can sort out the loop then I can...
August 6, 2014 at 1:43 am
OK, I thought I'd got the loop sorted out but it only works on the actual server the job is running on.
I need it to run on the calling server.
This...
August 5, 2014 at 9:28 am
Hi all
I'm trying to use sp_help_job (as suggested by Gail) to get the current status of the job I need to track.
Basically, I want to wait for the job...
August 5, 2014 at 4:10 am
Thank you.
I assume this will need to be run on the remote server.
August 4, 2014 at 3:52 am
Thanks Gail.
I'm assuming (and please correct me if I'm wrong) that the status is held in a table somewhere?
I'm happy to code the loop to see if the called job...
August 4, 2014 at 3:37 am
Just did, and I think it makes sense.
Why SARG????
July 30, 2014 at 5:43 am
Hi Luis
Thanks for the links, I'll have a look when I get chance (hopefully today).
As for the test patients, they're part of our raw data which is why I have...
July 30, 2014 at 1:25 am
Thanks Luis
Firstly, that's a lot shorter than my code and (I assume) will run a lot quicker.
Just a couple of questions, I've googled cross apply several times but I always...
July 29, 2014 at 9:24 am
Hi all
I like the idea of the cross-tab/pivot but I'm not sure how they would work?
Any idiot-proof info available?
As per an earlier request, here's the entire select statement:-
select
AD.VisitID
,AD.PtStatus --inpatient or...
July 29, 2014 at 1:27 am
You can use the EXEC statement inside the calling proc and pass it the name of the proc(s) you need to run first one at a time.
That should cover what...
July 28, 2014 at 8:47 am
Viewing 15 posts - 406 through 420 (of 470 total)