Viewing 15 posts - 76 through 90 (of 141 total)
Hi Chris, thanks for the feedback.
Chris Harshman (12/20/2016)
December 20, 2016 at 6:59 pm
The points you've listed are good ideas.
I can't talk from experience regarding how best to use stored procedures for report queries, I can talk from the other side though. We...
December 7, 2016 at 1:38 pm
sp_readerrorlogs doesn't show any issues except those from the times I've ran DBCC CHECKDB and a number of non-descript service exception stack dumps from a vendor-managed system which I will...
November 30, 2016 at 7:00 pm
There's a PASS group on Disaster Recovery - this is amazing! Thanks for the pointer 🙂
November 29, 2016 at 8:29 pm
I should have noted that this database isn't business critical. I definitely would look into hiring Gail if this were, thanks TheSQLGuru.
Is there anything more I could do towards fixing...
November 29, 2016 at 6:25 pm
The most efficient way I've found, when you know the column maximum length (and it's not thousands, and it isn't going to change[!]) is simply hard-coding a case statement for...
October 20, 2016 at 8:03 pm
To add to drew's answer, if your issue is with that JOIN within a JOIN condition, I would think of it as building a result-set from the inner JOIN, and...
August 9, 2016 at 3:59 pm
Neat - I didn't notice there's file attachment on the forums. See attached - I've included an XML data source in the report with a small sample of data and...
July 1, 2016 at 2:12 am
It should be possible to sum unique values using custom code.
I've uploaded an example report file here. Here's how to recreate:
Add a table with a detail row and a table...
June 30, 2016 at 11:14 pm
Good strategy using RowNumber to filter unique values. Try the below SSRS expression (SUM the field only if the RowNumber field has a 1):
=SUM(iif(Fields!rownum.Value = 1, Fields!ProductCost.Value, Nothing)
June 30, 2016 at 4:04 pm
There doesn't appear to be a nice solution to case sensitivity in SSRS Repalce. COLLATE is a SQL clause - it's not accessible in an SSRS expression.
I suggest doing...
May 10, 2016 at 3:21 pm
You could re-write that as one UPDATE with a CASE statement.
CREATE PROCEDURE Test
(
@col1 INT,
@col2 INT
)
AS
UPDATE TestTable
SET col3 =
...
May 10, 2016 at 2:33 pm
Have you tried CAST(STUDENT_CRS_HIST.JOB_TIME AS DATE)?
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
May 9, 2016 at 5:09 pm
Execute your stored procedure from SQL Server Management Studio with a statement like this:
exec [sp_Addoffices]
@Office_Name = 'The Batch',
@Office_Address = '1 Test...
May 8, 2016 at 4:10 pm
I would have no problem restoring the vendor's database. Unless you have reason not to trust the specific vendor, and even then I'd probably ask for the backup to review...
May 4, 2016 at 8:44 pm
Viewing 15 posts - 76 through 90 (of 141 total)