Viewing 15 posts - 1,051 through 1,065 (of 3,489 total)
What did you try? A DATEDIFF to get an individual record's wait and then sum that?
February 15, 2019 at 6:37 am
Your logic explanation makes me think that maybe you want either ROW_NUMBER() or COUNT() with a windowing function.SELECT ID
, Type
, ROW_NUMBER() OVER (PARTITION BY ID,...
February 14, 2019 at 11:45 am
Maybe Kenneth Fisher's article on CROSS APPLY would help, but without some sample data, it's hard to tell.
February 12, 2019 at 12:00 pm
Something like this?
DECLARE @SearchDate DATE = GETDATE();
INSERT INTO MyTable (col1, col2, col3)
SELECT col2, col2, DATEADD(day,1,@SearchDate)
FROM MyTable
WHERE col3 = @SearchDate;
Here's some actually tested...
February 11, 2019 at 10:02 pm
Could you post one or two "row-by-row" inserts that worked as well as the table definition of BIOGRAPH_MASTER table? There's not enough information here to figure out what's wrong.
February 11, 2019 at 7:41 pm
Since sending e-mails is done serially, you could just use a cursor for this. (yeah yeah, I know... cursors are terrible and all that, but I think this is a...
February 9, 2019 at 1:27 pm
I think Andy Leonard wrote an SSIS widget whatever for it. http://www.cozyroc.com
I have never used it, but if it can be done in SSIS, Andy would know how to...
February 7, 2019 at 2:10 pm
If you did not start here then you probably started in the wrong place. If you start with the article I linked to, there's code for creating and...
February 6, 2019 at 6:37 pm
So you mean you're trying to use something like a parameterized stored procedure as the source for the subreport? Can you give us an example of what you're doing?
February 5, 2019 at 8:58 pm
Because the default, 80, was being used by another SSRS instance?
February 5, 2019 at 8:18 am
February 4, 2019 at 9:31 am
You mean this script in the same set of articles?
https://www.mssqltips.com/sqlservertip/1243/auto-generate-sql-server-database-restore-scripts/
February 3, 2019 at 2:50 pm
Are you talking about NTILE()?SELECT BusinessEntityID
, JobTitle
, NTILE(4) OVER(ORDER BY BusinessEntityID) AS Quartile
,NTILE(2) OVER (ORDER BY BusinessEntityID) AS Half
FROM HumanResources.Employee;
February 1, 2019 at 6:51 pm
Right-click on the RowGroup, then select the Sorting tab from the Group Properties window, and select the field you want to sort by and set it to Descending?
January 31, 2019 at 9:26 pm
Since you never really explained what you're trying to accomplish, I have no idea.
If you want an answer, please read this article and follow the directions :
January 31, 2019 at 9:21 pm
Viewing 15 posts - 1,051 through 1,065 (of 3,489 total)