Viewing 15 posts - 11,866 through 11,880 (of 15,377 total)
Took me a couple to find the article from Jeff about this topic.
http://www.sqlservercentral.com/articles/T-SQL/74118/%5B/url%5D
May 23, 2012 at 1:18 pm
derek.colley (5/23/2012)
Lynn - trying yours now 🙂 The more practice I get...
May 23, 2012 at 1:14 pm
OK if you really want some help you have to help me understand what you are trying to do. You want a new table with a single column in it?...
May 23, 2012 at 1:00 pm
diva_di_dati (5/23/2012)
May 23, 2012 at 12:42 pm
komal145 (5/23/2012)
107141Initiated5/18/2012 16:01ADMIN
107145Customer Service5/18/2012 16:01ADMIN
107145Enrollment Technicia5/18/2012 16:07ADMIN
107145Customer Service5/18/2012 16:07ADMIN Pending
1071Imported5/12/2012 13:49ABD Pending
1075Enrollment Analyst5/12/2012 13:49ABD2 Pending
1071Routing5/12/2012 13:49ABD3 Pending
1073ENROLLMENT TECHNICIA5/12/2012 13:49ABD4 Pending
1081Routing5/18/2012 2:03ABDComplete
1085Enrollment Analyst5/18/2012 2:03ABD2Complete
1085Intake5/18/2012 2:03ABD3Complete
1083INDEXING5/18/2012 10:29ABD4Complete
1084Enrollment Analyst5/18/2012 10:53ABD5Complete
My...
May 23, 2012 at 12:40 pm
diva_di_dati (5/23/2012)
select RECIP as recipno,
DIAGNOSIS_CODE as diag_1,
/*icd 9 codes must be 5 in...
May 23, 2012 at 12:37 pm
Did you read the article that Paul posted? It explains DATEDIFF quite well. Here is again so you don't have to scroll around for it.
http://www.sqlteam.com/article/datediff-function-demystified
May 23, 2012 at 12:32 pm
diva_di_dati (5/23/2012)
What is OP? Be kind guys
OP = Original Poster
--EDIT--
Now just stop Lynn...that is about the 10th post you did this today!!! 😛
May 23, 2012 at 12:30 pm
quillis131 (5/23/2012)
I was wondering and cannot think straight on this, So I came with an idea of getting ideas/views from different people..
HARD RULE : When a Primary Key is defined...
May 23, 2012 at 12:22 pm
derekr 43208 (5/23/2012)
Yes. As I explained earlier, the first query has a correlated subquery in the EXISTS predicate. This query is run for each row in the outer...
May 23, 2012 at 12:10 pm
So what do you want for output? Try creating a temp table and insert to hold what the desired output should be. I don't get it from your description.
May 23, 2012 at 12:03 pm
So did my query answer what you needed? You said you had the first two figured out?
May 23, 2012 at 11:17 am
derekr 43208 (5/23/2012)
Sean Lange (5/23/2012)
See if this wiki article will help in your understanding. Not a very in depth look but it may help you get what is going on.
Thanks
I'm...
May 23, 2012 at 11:02 am
komal145 (5/23/2012)
But I need only those records which are in Current_step ="Enrollment_Analsyt"...
May 23, 2012 at 10:59 am
See if this wiki article will help in your understanding. Not a very in depth look but it may help you get what is going on.
May 23, 2012 at 10:55 am
Viewing 15 posts - 11,866 through 11,880 (of 15,377 total)