Viewing 15 posts - 466 through 480 (of 1,241 total)
moranamon (10/6/2016)
Actually, it'll never be MTM as each photo predicts a unique indicator. as for the location, i don't store the photos in the DB but on remote storage (Azure)...
October 6, 2016 at 11:36 am
Are you sure this will never be a many to many relationship, even if it is not one now? A person can appear in more than one photo but can...
October 4, 2016 at 4:37 pm
MMartin1 (10/4/2016)
peter478 (10/3/2016)
Based on last day in month I found week number via function DatePart("ww", 30.11.2016) result is 40 or other. It does not matter.
The...
October 4, 2016 at 3:49 pm
peter478 (10/3/2016)
Based on last day in month I found week number via function DatePart("ww", 30.11.2016) result is 40 or other. It does not matter.
The task...
October 4, 2016 at 3:38 pm
sanjaydut26 (10/2/2016)
ALTER FUNCTION [dbo].[ufn_GetHcmDesignFields]
(
@ModuleId bigint, -- HCM_DESIGN_FIELDS moduleid with IsExtendable status 1
@RID bigInt -- table rid
)
RETURNS nvarchar(max)
AS
BEGIN
DECLARE @Return...
October 4, 2016 at 3:13 pm
henryKrinkle (10/4/2016)
D1, T1, C1, P1, ORDER1, LINE1, 100
D1, T2, C1, P1, ORDER1, LINE1, 500
D1, T3, C1, P1, ORDER1, LINE1, 100
Hi,
Thanks for your input.
In an ideal world, yes, the lines...
October 4, 2016 at 10:56 am
RonKyle (10/3/2016)
If not you could add your own line item number within the group -->(date, customer, product, orderNumber, lineItem) as your key. Maybe you can even populate a calculated field...
October 3, 2016 at 1:23 pm
D1, T1, C1, P1, ORDER1, LINE1, 100
D1, T2, C1, P1, ORDER1, LINE1, 500
D1, T3, C1, P1, ORDER1, LINE1, 100
Sorry if I missed a detail here, would the line numbers not...
October 3, 2016 at 1:03 pm
I myself advocate for the lowest possible granularity unless you know for sure you wont need the details. For example, can one of those transactions be reversed at a later...
October 3, 2016 at 12:51 pm
this has to be done by grouping and expression in ssrs . So , cannot use CTE.
I am curious about this requirement. Would you mind sharing why?
October 3, 2016 at 12:32 pm
Another way to approach this is if you have a rowID column in your table , you can derive one into a temp table from the base table if you...
September 30, 2016 at 4:53 pm
Hmm, I would rather do this in the SQL code ...
I scrapped up the following >>
with cte as
(
selectcast('20140701' as date) as cteDate
Union all
selectdateadd(d, 1,c.cteDate)
fromcte as c
wherec.cteDate <'20140731'
)
,nextCte as
(
select top...
September 30, 2016 at 4:35 pm
Spiff (9/29/2016)
MMartin1 (9/29/2016)
(DT_DATE)((DT_WSTR, 4) year(getdate())+"-"+ REPLICATE( "0", 2-LEN((DT_WSTR, 2)(month(getdate())+1) )) + (DT_WSTR, 2)( month(getdate())+1) +"-01")
EDIT : This will give you...
September 29, 2016 at 4:25 pm
xr280xr (9/29/2016)
drew.allen (9/26/2016)
Luis Cazares (9/26/2016)
drew.allen (9/26/2016)
xr280xr (9/26/2016)
September 29, 2016 at 3:33 pm
In the SSIS expression builder , enter:
(DT_DATE)((DT_WSTR, 4) year(getdate())+"-"+ REPLICATE( "0", 2-LEN((DT_WSTR, 2)(month(getdate())+1) )) + (DT_WSTR, 2)( month(getdate())+1) +"-01")
EDIT : This will give you the first...
September 29, 2016 at 12:57 pm
Viewing 15 posts - 466 through 480 (of 1,241 total)