Viewing 15 posts - 7,186 through 7,200 (of 15,381 total)
It is hard to figure out which of your questions you want help with. Also there seems to be confusion about performance vs presentation. SQL server is NOT a presentation...
August 12, 2013 at 7:24 am
Also you said you wanted to display 0's for months with no data. You will need provide some sort of start and end dates for your query. It could be...
August 9, 2013 at 3:24 pm
matt_garretson (8/9/2013)
Man, you are good. Yes, 0's for those missing months.So
ChildID Waver_Service Month/Year Total_Amount_Provided Total_Amount_Budgeted Budget_%_use
cool. What i was really hoping for...
August 9, 2013 at 3:00 pm
matt_garretson (8/9/2013)
August 9, 2013 at 2:44 pm
wolfkillj (8/9/2013)
Sean Lange (8/9/2013)
Ed Wagner (8/9/2013)
Stefan Krzywicki (8/9/2013)
August 9, 2013 at 2:25 pm
Ed Wagner (8/9/2013)
Stefan Krzywicki (8/9/2013)
August 9, 2013 at 1:11 pm
Awesome job posting ddl and sample data. I did make a few modifications to make your datatypes numeric(9,2) for RATE_PER_UNIT_OF_SERVICE, PROJECTED_COST_PER_MONTH and total. You had them all as ints so...
August 9, 2013 at 12:45 pm
This will do it.
if OBJECT_ID('tempdb..#Something') is not null
drop table #Something
create table #Something
(
SomeID int identity,
SomeValue varchar(25)
)
insert #Something
select '1,2,3,4,5' union all
select '6,7,8,9,10'
select MAX(Case when ItemNumber = 1 then Item else null end)...
August 9, 2013 at 10:22 am
sundayose (8/9/2013)
use DBMUST
select
[dbo].[tbl_VOUCHER_CAPTURE].dt_VOUCHER_ISSUE_DATE AS Sales_Date,
[dbo].[tbl_VOUCHER_CAPTURE_DETAIL].str_BARCODE AS Voucher,
[dbo].[tbl_SALES_TEAM_MASTER].str_SALES_TEAM_NAME AS Team,
[dbo].[tbl_SALES_EXECUTIVE_MASTER].[str_SALES_EXECUTIVE_NAME] AS BCC,
[dbo].[tbl_DISTRIBUTOR_MASTER].[str_DISTRIBUTOR_NAME]AS CBD,
[dbo].[tbl_DISTRICT_MASTER].str_DISTRICT_NAME AS CBD_District,
[dbo].[tbl_VOUCHER_ISSUE].[dt_VOUCHER_ISSUE_DATE] AS Issuance_Date
from [dbo].[tbl_VOUCHER_CAPTURE]
left Join [dbo].[tbl_VOUCHER_CAPTURE_DETAIL]
on [dbo].[tbl_VOUCHER_CAPTURE].int_VOUCHER_CAPTURE_ID = [dbo].[tbl_VOUCHER_CAPTURE_DETAIL].int_VOUCHER_CAPTURE_ID
Left Join...
August 9, 2013 at 9:52 am
Duplicate post. Direct replies here. http://www.sqlservercentral.com/Forums/Topic1482812-146-1.aspx
August 9, 2013 at 9:46 am
Duplicate post. Direct replies here. http://www.sqlservercentral.com/Forums/Topic1482812-146-1.aspx
August 9, 2013 at 9:46 am
akshay9986 (8/9/2013)
The 500 tasks are will be allocated to most top parents...
i m thinking that this 500 tasks can be stored in emp table itself...
These tasks will get...
August 9, 2013 at 8:59 am
Hi and welcome to the forums. Great job posting ddl for the emp table. You lost me when you started talking about tasks. There is no table here and I...
August 9, 2013 at 7:38 am
Generally speaking you can adjust the timeout like you said to "fix the problem". Actually this is more like a try/catch block with an empty catch. My guess is that...
August 9, 2013 at 7:33 am
Duplicate post. direct replies here. http://www.sqlservercentral.com/Forums/Topic1482598-392-1.aspx
August 9, 2013 at 7:22 am
Viewing 15 posts - 7,186 through 7,200 (of 15,381 total)