Viewing 15 posts - 2,686 through 2,700 (of 4,085 total)
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)
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
May 11, 2016 at 2:20 pm
Reported as spam.
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
May 11, 2016 at 2:05 pm
Most of the people here don't speak Portuguese. You might have better luck if you posted your question in English.
Drew
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
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...
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
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...
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
May 11, 2016 at 10:24 am
Eric M Russell (5/11/2016)
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
May 11, 2016 at 10:18 am
Use the Inserted pseudo table rather than the Payment table. Use the inserted and deleted tables
Drew
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
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
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
May 10, 2016 at 8:53 am
o103452 (5/10/2016)
drew.allen (5/9/2016)
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
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...
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
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...
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
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...
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
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
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
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
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
May 9, 2016 at 8:50 am
pietlinden (5/8/2016)
select dateadd(mm, datediff(mm, 0, @ThisDate) + 1, 0) -- Beginning of next month
last day of the month is...
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
May 9, 2016 at 8:31 am
Viewing 15 posts - 2,686 through 2,700 (of 4,085 total)