Viewing 15 posts - 16 through 30 (of 66 total)
December 14, 2017 at 4:06 am
@drew: thank you Drew for taking the time to look at my code.
Changing table name 'Bewoners' to 'Bewoners_STAGING' solved my problem.
Cheers,
Julian
December 14, 2017 at 4:01 am
Ooops, how obvious.
Should be the staging table.
December 13, 2017 at 3:29 pm
Thank you Jeff, have to look into that.
Cheers,
Julian
December 3, 2017 at 5:26 am
November 30, 2017 at 2:01 pm
Drew and Scott,
Thank you.
Cheers,
Julian
USE xxx;
GO
WITH MYCTE AS
(
SELECT COUNT (*) OVER (PARTITION BY zzpclient_id) AS...
November 30, 2017 at 4:24 am
This is starting to look better!
Want to use as a storedprocedure with (optional) parameters for various reports.
IDHuis (location), IDAfd (department within location)
Any thoughts?
Thanks for your input and guidance...
August 28, 2017 at 11:52 am
Okay, in a bit of a panic here to come up with a soluton. :pinch:
Will study your answer more thoroughly.
Thanks,
J.
August 28, 2017 at 10:05 am
Final solution here: https://www.sqlservercentral.com/Forums/FindPost1894101.aspx
August 28, 2017 at 4:19 am
Thank you Jeff, great!
Cheers,
Julian
(https://www.red-gate.com/simple-talk/sql/t-sql-programming/sql-server-apply-basics/)
DECLARE @IDHUIS VARCHAR(4)
DECLARE @IDAFD VARCHAR(4)
DECLARE @JAAR INT
DECLARE @WEEKBEGIN INT
DECLARE @WEEKEND INT
August 28, 2017 at 4:17 am
I meant my other question, not "previous post".
As a backup I have been looking at your suggestion (Columns "DateBegin" and "DateEnd").
I will have a shot at...
August 27, 2017 at 11:41 am
Hi Jeff,
For each row in the Date table, eg. for IDClient 180, I want to return the corresponding HrsPlan to be found in the LookupTable.
So for January...
August 27, 2017 at 5:53 am
Drew, thank you!
Julian
August 26, 2017 at 3:29 am
Viewing 15 posts - 16 through 30 (of 66 total)