Viewing 15 posts - 8,536 through 8,550 (of 15,381 total)
DKN2101 (4/24/2013)
- Don't have much experience with CTE ... the syntax should be something like...
April 24, 2013 at 2:40 pm
OK. #1 and #2 and almost the same thing. Let's start with #1 (Total Cents for each day in the month of March 2013. Revenue is measured with the "cents"...
April 24, 2013 at 1:37 pm
DKN2101 (4/24/2013)
April 24, 2013 at 12:33 pm
carsten.crystaldive (4/24/2013)
There's two problems here with this solution ... 1.) The Breakdown-Table contains the constants, I'd need these Computed Columns on my Wages Entry table as...
April 24, 2013 at 11:07 am
The best approach would be to normalize your base table. 😀
To get the results you are looking for you need to use a cross tab. You can find two great...
April 24, 2013 at 8:57 am
Here is the original query after formatting:
SELECT --bi.cobdate,
fact.batchid
,fact.mastergroup
,fact.counterparty
,fact.counterpartyname
,fact.parentcounterpartyname AS ParentCounterparty --If No Parent, then show the original CP as Parent
,fact.portfoliolevelcd AS AggregationScheme
,fact.portfolionodevalue AggregationNode
,ptycc.anzccr AS CCR
,ptycc.securityindicator AS SI
,fact.limittimeband
,fact.limitstartdt AS [Start_Date]
,fact.limitenddt AS...
April 24, 2013 at 8:52 am
ArjunaReddy (4/24/2013)
Please help me out with the below query.
We are calculating Exposure column (Hilighted in the query) based on current date and my requirement now is to add a new...
April 24, 2013 at 8:52 am
What you need here is a computed persisted column on your breakdown table, possibly three (1 for ACA, Confined and Dives). Then you would need to create a constraint on...
April 24, 2013 at 8:34 am
Mansfield (4/23/2013)
If you want to concatenate, you'll need to cast each field into varchar or...
April 23, 2013 at 3:50 pm
Get some sleep!!!
Once you are rested what would be a big help is to post some sample data along with what you expect to happen. You will be able to...
April 23, 2013 at 3:46 pm
No worries about being new around here...we all were once. 😛
So what you want to do is to have the Breakdown.Amount_ACA be a remaining based on WagesEntryNew?
In other words a...
April 23, 2013 at 2:56 pm
jdbrown239 (4/23/2013)
Hey SeanI tried this and had to stop the query after 25 mins of running. Any other suggestions would be appreciated.
Doug
Well we are all just guessing here because we...
April 23, 2013 at 2:38 pm
Hi and welcome to the forums. Did your post have a question or just to share a solution? If it was a question, the question seems to be missing. If...
April 23, 2013 at 1:30 pm
Maybe something like this?
WHERE cast(c.CTS_LAST_SAVED_DATE as DATE) = cast(GETDATE() as DATE) and cast(a.APP_LAST_SAVED_DATE as DATE) = cast(GETDATE() as DATE) or CAST(c.CTS_LAST_SAVED_DATE as DATE) = cast(GETDATE() as DATE)
At first glance that...
April 23, 2013 at 1:21 pm
Hi and welcome to the forums. It is very difficult to determine what you are trying to do here. The "columns" are all very short abbreviations that make sense to...
April 23, 2013 at 1:18 pm
Viewing 15 posts - 8,536 through 8,550 (of 15,381 total)