Forum Replies Created

Viewing 15 posts - 451 through 465 (of 1,233 total)

  • RE: update 3 tables with the same primary and foreing key values

    What is supposed to be doing the insert? A person? An application?

    One idea is to have a trigger on the table that takes the inserted ID value and adds them...

  • RE: Calculate dynamic columns

    We need DDL statements for your tables, inserts, and the queries with any parameters you are using in your report to pull your datasets.

    Please start from the top. Just...

  • RE: Star Schema Design - Multiple Sources

    kevin.obrien 66193 (10/9/2016)


    Hi,

    How do I allow for an item in SourceA to be matched to an item in SourceB?

    So in my report output, if the user has indicated these 2...

  • RE: Index guidance needed

    MickyD (9/15/2016)


    Hi everyone.

    I recently came across a dev database in our organization that had no clustered indexes and circa 100 million row.....:crazy:

    In order to rectify I need some advice on...

  • RE: Forward dependencies are not valid

    hoseam (10/5/2016)


    Hi,

    I have Test.rdll, with one parameter and one dataset

    Dataset:

    Name:Country

    Query:

    select distinct

    [Country]

    from [DW].[dbo].[Dim_Country]

    where Active = 1

    and Country = @Country

    Parameter:

    General; Name= Country, Prompt = Country, Data...

  • RE: Index guidance needed

    GilaMonster (10/4/2016)


    CferMN (10/4/2016)


    Could you please explain how to tell what the table is most frequently filtered by or how to tell the most common predicate used against the table?

    You go...

  • RE: conditional where clause

    marc.corbeel (10/6/2016)


    Yes but here you include the complete select command in the condition.

    Problem is here that my real query is very complex (about 40 lines), and putting it 2 times...

  • RE: One to Many relations

    moranamon (10/6/2016)


    Hi,

    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)...

  • RE: One to Many relations

    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...

  • RE: How to get date??

    MMartin1 (10/4/2016)


    peter478 (10/3/2016)


    Let me explain what I need.

    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...

  • RE: How to get date??

    peter478 (10/3/2016)


    Let me explain what I need.

    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...

  • RE: Assign result of dynamic sql to variable

    sanjaydut26 (10/2/2016)


    Here is the function...

    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...

  • RE: Modelling grain and fact table key

    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...

  • RE: Modelling grain and fact table key

    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...

  • RE: Modelling grain and fact table key

    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...

Viewing 15 posts - 451 through 465 (of 1,233 total)