Viewing 15 posts - 2,686 through 2,700 (of 4,087 total)
It looks like he wants to sort by the root process. He has an adjacency list of processes and blocking processes. Take a look at the following article...
May 11, 2016 at 3:13 pm
Eric M Russell (5/11/2016)
TheSQLGuru (5/11/2016)
Eric M Russell (5/11/2016)
drew.allen (5/11/2016)
Eric M Russell (5/11/2016)
May 11, 2016 at 2:20 pm
Most of the people here don't speak Portuguese. You might have better luck if you posted your question in English.
Drew
May 11, 2016 at 1:31 pm
It would help if you provided sample data and expected output.
My first question, is whether you really need to reference a table for your various DoNotX attributes. Do they...
May 11, 2016 at 11:25 am
anjaliagarwal5 (5/11/2016)
My update statement is working if I am passing NULL instead of empty strings.
An empty string is not the same as a NULL string. An empty string is...
May 11, 2016 at 10:24 am
Eric M Russell (5/11/2016)
May 11, 2016 at 10:18 am
Use the Inserted pseudo table rather than the Payment table. Use the inserted and deleted tables
Drew
May 10, 2016 at 12:50 pm
squvi.87 (5/9/2016)
can anybody suggest me some links to learn processing the xml in sql ?
Drew
May 10, 2016 at 8:53 am
o103452 (5/10/2016)
drew.allen (5/9/2016)
May 10, 2016 at 8:42 am
Andrew P (5/9/2016)
The below query would give you a list of distinct dates.
SELECT DISTINCT CAST(STUDENT_CRS_HIST.JOB_TIME AS DATE) AS JOB_DATE
FROM STUDENT_CRS_HIST
For an alternative, check out...
May 10, 2016 at 8:16 am
The 445 and 454 fiscal years only have 364 days. You have only given data for one fiscal year, so it's not clear how you are handling that extra...
May 9, 2016 at 2:43 pm
Lowell (5/9/2016)
prafuljemail (5/9/2016)
update tset t.id1=999
from t b join
(
select id1,max(id) as id from t
group by id1 ) a on a.id=b.id
select * from t
The group by is fine if you...
May 9, 2016 at 2:28 pm
This is not valid xml, because there is no single root element. In fact, you have text that is not contained in an element at all.
Drew
May 9, 2016 at 10:55 am
You should be able to figure this out from the answers that you received to your post on XML to SQL tables
Drew
May 9, 2016 at 8:50 am
Viewing 15 posts - 2,686 through 2,700 (of 4,087 total)