Viewing 15 posts - 1 through 15 (of 16 total)
I am having problems with a alias.
Can someone shed some light on this for me?
SELECT ticket.tn, ticket.id, ticket_history.ticket_id, ticket_history.state_id, ticket_history.create_time, MONTH( ticket_history.create_time ) , YEAR( ticket_history.create_time )
FROM `ticket`
INNER...
August 5, 2014 at 9:05 am
This code works except for the DISTINCT. Please note from earlier posts this is MYSQL.
Also how can I create a create to run for every month to get a...
August 4, 2014 at 6:55 am
The first two work but they just return the column header.
Somehow we are not selecting(*) in the first line of the statement.
Many many thanks for your efforts so far.
This is...
July 31, 2014 at 10:38 am
Thanks for the reply.
The data types of the column are DATETIME in the format mm/dd/yyy hh:mm:ss and I am using the Date Picker in Report Builder 3.0 for...
July 31, 2014 at 9:45 am
OK I tried this again:
Select create_time
From ticket_history
WHERE create_time = @BeginningDate
and it just returns the column name and no values
July 31, 2014 at 9:26 am
Thanks for the prompt reply.
I tried this:
Select create_time,
From ticket_history
WHERE create_time = @BeginningDate
And I got this error message:
TITLE: Microsoft SQL Server Report Builder
------------------------------
An error occurred while executing the query.
ERROR [42000] [MySQL][ODBC...
July 31, 2014 at 9:00 am
Hello Lowell,
OK now I added the table and collumn
SELECT
DP.Name [DPName],
SUM(CASE WHEN DWI.System_Title LIKE '%Accept%'
THEN 1...
December 29, 2011 at 12:52 pm
OK now I have this:
SELECT
DP.Name [DPName],
SUM(CASE WHEN DWI.System_Title LIKE '%Accept%'
THEN 1
...
December 29, 2011 at 12:34 pm
Hello G Squared,
I would still love to see some TSQL examples and I will post in the Analysis Services forum.
Thanks for your time.
I still hope to see your TSQL examples.
Best,
Kurt
December 20, 2011 at 7:00 am
Hello GSquared,
No, not yet.
How can I use a Date Format something similar to what I am working on now?
SELECT {[Measures].[Work Item Count]} on columns,
NON EMPTY LASTPERIODS(30, [Date].[Date].[Date].[Date].[Month].[Date].[Year].[Year].&[20111201]) on rows
FROM [Team...
December 20, 2011 at 6:34 am
Hello All,
I still need some help with this.
Any ideas?
Kurt
December 18, 2011 at 6:17 pm
We could do away with the Max if needed.
I know that GetDate() returns todays date.
What do you recommend?
December 16, 2011 at 9:50 am
True story.
Let's try using the LastUpdatedDateTime.
Once I see your syntax that will help me figure the rest of it out.
I am also going to be looking at the Warehouse Cube.
Again...
December 16, 2011 at 7:15 am
I think you are correct it is just a column for audit purposes.
What else can I use?
Many thanks for your help. I need to get this going.
December 16, 2011 at 6:19 am
Yes it is called LastUpdatedDateTime and it is in both the DimIteration and DimWorkItem.
December 16, 2011 at 5:06 am
Viewing 15 posts - 1 through 15 (of 16 total)