Viewing 15 posts - 721 through 735 (of 859 total)
flebber.crue (4/2/2012)
I never thought about keeping the scripts for backup but that is a good point.Is there a good editor to write the SQL in?
i find i like...
April 2, 2012 at 2:52 pm
i count 3 distinct queries with changes on the where clauses and SSRS to make it all nice and pretty.
one for the partner level (changing the date range for...
April 2, 2012 at 1:55 pm
roryp 96873 (4/2/2012)
capn.hector (4/2/2012)
roryp 96873 (4/2/2012)
capn.hector (4/2/2012)
roryp 96873 (4/2/2012)
declare @myDate date
set @myDate = '2012-04-02'
select @myDate as myDate
Obviously this is really simple, but you can use the @myDate in...
April 2, 2012 at 1:42 pm
roryp 96873 (4/2/2012)
capn.hector (4/2/2012)
roryp 96873 (4/2/2012)
declare @myDate date
set @myDate = '2012-04-02'
select @myDate as myDate
Obviously this is really simple, but you can use the @myDate in calculations or comparisions...
April 2, 2012 at 1:37 pm
using common table expressions you can get the aggergated data but with out the DDL and sample data code is hard to do. there are also cross tabs that...
April 2, 2012 at 1:35 pm
roryp 96873 (4/2/2012)
declare @myDate date
set @myDate = '2012-04-02'
select @myDate as myDate
Obviously this is really simple, but you can use the @myDate in calculations or comparisions like you would...
April 2, 2012 at 1:31 pm
aaron.reese (4/2/2012)
April 2, 2012 at 1:25 pm
SQLRNNR (4/2/2012)
jcrawf02 (4/2/2012)
Brandie Tarvin (3/29/2012)
Greg Edwards-268690 (3/29/2012)
Brandie Tarvin (3/29/2012)
April 2, 2012 at 12:50 pm
Sean Lange (4/2/2012)
Koen Verbeeck (4/2/2012)
Sean Lange (3/30/2012)
I made him read this whole thread. http://www.sqlservercentral.com/Forums/Topic1268991-391-1.aspx :w00t:
Hi-la-rious!
I do admire your patience.
I would probably already stopped looking at that thread after 3 or...
April 2, 2012 at 12:46 pm
Sean Lange (4/2/2012)
It really looks like this should be a single update instead of rbar.
i agree. of course this could also be inside of a cursor all ready (Similar...
April 2, 2012 at 12:09 pm
SQLKnowItAll (4/2/2012)
capn.hector (4/2/2012)
;WITH row AS (SELECT ROW_NUMBER() OVER (Partition by auth_id ORDER BY key_id)...
April 2, 2012 at 11:47 am
i was wrong, here it is with the join and only pulling authid's in the trans table
;WITH row AS (SELECT ROW_NUMBER() OVER (Partition by auth_id ORDER BY key_id) AS rownum,...
April 2, 2012 at 11:43 am
;WITH row AS (SELECT ROW_NUMBER() OVER (Partition by auth_id ORDER BY key_id) AS rownum, cpt4_id, auth_id FROM #outpatient_service)
SELECT UPPER(cpt4_id), auth_id FROM row where rownum = 1
GO
no inner join to the...
April 2, 2012 at 11:40 am
i find scripting the database out is better for me than using any tool to do it for me from visio (or the such) from an ERD. the first...
April 2, 2012 at 11:28 am
Pam Brisjar (4/2/2012)
Goal: change "WHERE auth_id = @auth_id" to an inner join with the #TRANS table and get rid of that subquery.
Help?
question where in the query is the...
April 2, 2012 at 11:16 am
Viewing 15 posts - 721 through 735 (of 859 total)