Viewing 15 posts - 1,906 through 1,920 (of 4,085 total)
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
February 2, 2017 at 2:42 pm
Shoudlnt that be a temp table...
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
February 2, 2017 at 2:26 pm
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
February 2, 2017 at 1:54 pm
JALLY - Thursday, February 2, 2017 12:53 PMThanks everyone,I figured it out and used a while loop in a cursor.
Thanks
Cursors tend to...
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
February 2, 2017 at 1:44 pm
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
February 2, 2017 at 1:21 pm
Your join is on PS.ProjectSafeguardID = S.SafeguardID, but your select is on S.ProjectSafeguardID. Change your join to PS.ProjectSafeguardID = S.ProjectSafeguardID.
Drew
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
February 2, 2017 at 11:20 am
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
February 2, 2017 at 11:07 am
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
February 2, 2017 at 11:00 am
Because of the GROUP BY, you cannot reference the Keyword field directly in your ORDER BY. This should work.
SELECT A.ImgName, A.ImgID
FROM Images A
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
February 1, 2017 at 4:07 pm
First, when posting code it REALLY helps if you use the SQL Code button to format your code.
You're using unnecessary WHILE loops. Get rid of them. The first...
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
February 1, 2017 at 12:38 pm
The documentation has an example on how to create a format file. You'll also need to use the -t option to change the delimiter to a pipe (from the default...
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
February 1, 2017 at 12:10 pm
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
February 1, 2017 at 11:28 am
The documentation on BCP is very good and BCP contains too many options for us to give you an intelligent response with so little information. I suggest that you Google...
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
February 1, 2017 at 11:21 am
I believe that this will work.
;
WITH event_pvt AS
(
SELECT t.eventdate, e.is_start,
CASE
WHEN e.is_start = 0 THEN 'N'
WHEN LAG(e.is_start, 1, 0) OVER(ORDER BY...
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
February 1, 2017 at 11:09 am
The join will give you exactly what you asked for. If it's not giving the results that you expect, we can't help you without more information.
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
February 1, 2017 at 8:29 am
Viewing 15 posts - 1,906 through 1,920 (of 4,085 total)