Viewing 15 posts - 451 through 465 (of 1,464 total)
Due to the clash of you div names with the web page, I am not recreating the actual xml here.
This should also get what you are looking for.
October 8, 2019 at 1:19 pm
It is not possible, as the value "Avis" does not exist in the sample data
October 8, 2019 at 12:20 pm
--=== Logic breakdown ================================================
--=== -- Group the consecutive enrollments for each waiver
--=== SELECT *, Grouper = DATEADD(DAY,0-DurationRuningTotal,TERMDATE)
--=== FROM (
--=== -- Get the enrollment...
October 3, 2019 at 8:48 pm
Thanks all,
that's going to take me some time to analyse. The source data is just terrible. They have been swapping the format of the dates on almost a daily...
October 3, 2019 at 3:38 pm
Thanks for that, guys! That does work for getting the results I need from that part of my query. I'm joining these results into a larger data set via...
October 2, 2019 at 7:14 pm
So, I spent some time creating a function that will successfully convert *MOST* string formats to DATETIME. This has only been tested in a us-en environment.
CREATE FUNCTION...
October 2, 2019 at 6:49 pm
Take a look at this post where a present a solution for a similar issue.
You can take this a step further, and create a iTVF for future use
October 2, 2019 at 3:32 pm
That SQL does not make sense.
Kindly provide DDL scripts and sample data so that we can understand what you are seeing.
September 30, 2019 at 3:51 pm
This looks like you are simply repeating the same query over and over
SELECT top(1) PM_DataContabileBKI
FROM [xxx].[xxx].[xxx]
order by 1 desc
and subtracting a number of months from the single...
September 30, 2019 at 1:08 pm
How to rewrite as single statement with out variable?
I don't know your table structures or data types. I also do not have any sample data to work with.
So the...
September 27, 2019 at 7:21 pm
You cannot use variables in a view.
Either re-wrtie it as a single statement, or create a stored procedure.
September 27, 2019 at 7:13 pm
What the heck is a FULLZ? Are dead FULLZ better than live FULLZ? Inquiring minds.
I stand to be corrected, but rumor has it that FULLZ are leaked personal details,...
September 27, 2019 at 2:28 pm
The correct answer is not available as an option
September 27, 2019 at 8:12 am
The following SQL will help you to shred the xml. You can then work on formatting it as you need.
DECLARE @xmlData xml = '<Data>
<Monthly_x0020_Income>
...
September 25, 2019 at 6:54 pm
Alternatively, you can rewrite the query to repeat the CASE statement
SELECT DISTINCT
ph.STARTDATE
, ph.SERIALNUMBER
, dc.DESTINATIONGROUP
, pi.PLEDGEID
...
September 25, 2019 at 2:19 pm
Viewing 15 posts - 451 through 465 (of 1,464 total)