Viewing 15 posts - 11,851 through 11,865 (of 15,377 total)
TheSQLGuru (5/24/2012)
Sean Lange (5/24/2012)
TheSQLGuru (5/24/2012)
Actually Grant I don't see even the slightest hint of a question from the OP - it is just a bunch of code. No request...
May 24, 2012 at 9:33 am
As the OP pointed out, this is a duplicate thread. Please direct all replies here. http://www.sqlservercentral.com/Forums/Topic1305928-1633-1.aspx
May 24, 2012 at 9:20 am
There is probably a cleaner way to do this but this produces the correct results according to your sample data. I am kind of buried at work or I would...
May 24, 2012 at 9:15 am
Not much info in your post here. Pretty hard to offer suggestions about unknowns.
Take a look at the indexes stairway. It is a great series on understanding indexes. I suspect...
May 24, 2012 at 8:47 am
Oh, and as for banning - I say "no". You don't have to answer them, you can ignore anyone you wish. If people start getting banned for asking "basic questions",...
May 24, 2012 at 8:30 am
TheSQLGuru (5/24/2012)
Actually Grant I don't see even the slightest hint of a question from the OP - it is just a bunch of code. No request about what if...
May 24, 2012 at 8:23 am
SQLKnowItAll (5/24/2012)
Sean Lange (5/24/2012)
SQLKnowItAll (5/23/2012)
May 24, 2012 at 8:06 am
SQLKnowItAll (5/23/2012)
May 24, 2012 at 7:41 am
something like this help?
SELECT f.name AS ForeignKey, OBJECT_NAME(f.parent_object_id) AS TableName,
COL_NAME(fc.parent_object_id, fc.parent_column_id) AS ColumnName,
OBJECT_NAME (f.referenced_object_id) AS ReferenceTableName,
COL_NAME(fc.referenced_object_id, fc.referenced_column_id) AS...
May 23, 2012 at 2:55 pm
SQL Kiwi (5/23/2012)
Sean Lange (5/23/2012)
Be careful here. This cte that Mike used is what is called a recursive cte. It is NOT set based, it is hidden looping.
How do you...
May 23, 2012 at 1:56 pm
sqluser_8119 (5/23/2012)
This isn't real data so relax
LOL. I meant the info in your desired output. Obvious the inserts is fake stuff.
So it looks like Lynn and I posted the...
May 23, 2012 at 1:49 pm
komal145 (5/23/2012)
I want status for only those records which have sys_current_step(5) = "enrollmentanalyst"
and status will complete or pending.
I need to know the status of records...
May 23, 2012 at 1:42 pm
I think something along these lines is what you are after?
select * from
(
select claim_stat, patient_nbr, status_note_code, biller_cd, form_id, patient_name, entry_date, process_date, tracking_id, claim_id,
ROW_NUMBER() over(partition by patient_nbr, claim_stat order by...
May 23, 2012 at 1:40 pm
sqluser_8119 (5/23/2012)
- If...
May 23, 2012 at 1:33 pm
Viewing 15 posts - 11,851 through 11,865 (of 15,377 total)