Viewing 15 posts - 3,361 through 3,375 (of 15,381 total)
d.krishnap (1/26/2015)
([objid] int,[x_billable_to] varchar(19), [x_bill_quantity] int,
[x_billable_yn] int, [x_bill_rate] int, [COST_TYPE] varchar(19) )
;
INSERT INTO BILL_DETAIL
([objid], [x_billable_to], [x_bill_quantity], [x_billable_yn], [x_bill_rate],[COST_TYPE])
VALUES
(1, 'Customer', 3, 1,...
January 27, 2015 at 7:33 am
Jeff Moden (1/26/2015)
January 27, 2015 at 7:30 am
Carlo Romagnano (1/27/2015)
with c
as(
SELECT * FROM (VALUES
(1,2013,1,100)
,(1,2013,1,200)
,(1,2014,0,500)
,(1,2014,1,200)
,(2,2013,1,200)
,(2,2013,1,200)
,(2,2014,1,100)
,(2,2014,1,100)
) AS V([Customer],[Salesyear],[Complete],[Amount])
)
SELECT
*
...
January 27, 2015 at 7:16 am
Snargables (1/26/2015)
January 26, 2015 at 2:03 pm
Ed Wagner (1/26/2015)
TomThomson (1/26/2015)
SQLRNNR (1/26/2015)
Grant Fritchey (1/24/2015)
Sean Lange (1/23/2015)
January 26, 2015 at 10:26 am
Jack Corbett (1/26/2015)
Sean Lange (1/23/2015)
January 26, 2015 at 7:08 am
Jeff Moden (1/23/2015)
Sean Lange (1/23/2015)
January 23, 2015 at 8:31 pm
WayneS (1/23/2015)
Sean Lange (1/23/2015)
January 23, 2015 at 8:28 pm
Jeff Moden (1/23/2015)
Ed Wagner (1/23/2015)
Sean Lange (1/23/2015)
Ed Wagner (1/23/2015)
Sean Lange (1/23/2015)
Ed Wagner (1/23/2015)
sharonsql2013 (1/23/2015)
Gives data in the format
YYYY_MM_DD
How can I go...
January 23, 2015 at 1:48 pm
Oh lordy...I just handed a stored proc and was asked advice on how to make it faster. The proc is 3700 lines long, there are almost 200 parameters and another...
January 23, 2015 at 12:59 pm
Oops forgot to include partition.
SELECT variable1 AS PatientBillingID
, ROW_NUMBER() over (partition by variable1 order by variable1 desc) - 1 as RowNum --added the minus 1 since ROW_NUMBER starts with 1
You...
January 23, 2015 at 12:56 pm
Ed Wagner (1/23/2015)
Sean Lange (1/23/2015)
Ed Wagner (1/23/2015)
sharonsql2013 (1/23/2015)
Gives data in the format
YYYY_MM_DD
How can I go back to past 12 months in...
January 23, 2015 at 12:31 pm
This should produce the results you have in your example.
SELECT variable1 AS PatientBillingID
, ROW_NUMBER() over (order by variable1 desc) - 1 as RowNum --added the minus 1 since ROW_NUMBER...
January 23, 2015 at 12:31 pm
surf4profit (1/23/2015)
I have a query that I need to add a sequence to for a report and I...
January 23, 2015 at 12:29 pm
surf4profit (1/23/2015)
I have a
Are we supposed to fill in the blank?
I am going to guess "purple man eating elephant".
January 23, 2015 at 12:02 pm
Viewing 15 posts - 3,361 through 3,375 (of 15,381 total)