Forum Replies Created

Viewing 15 posts - 7,891 through 7,905 (of 13,876 total)

  • RE: Where does the calculation logic is on the “SUPPLY” column come from this SQL

    nileshbgp123 (11/18/2015)


    Thanks a lot for your reply, as i said earlier i am not so good in SQL, Can you please just explain me how the value of SUPPLY is...

  • RE: Sync Tables

    anthony.green (11/18/2015)


    Phil Parkin (11/18/2015)


    I would think of using Change Tracking.

    Always forget about CDC, just one of them things I have never used so never crosses my mind.

    I've used it...

  • RE: Where does the calculation logic is on the “SUPPLY” column come from this SQL

    This will help others. I've taken the query, removed the spurious additional spaces and reformatted it:

    create view INV_SUPPLY

    as

    (select RRN(BAL) as SEQ

    ...

  • RE: Sync Tables

    johnwalker10 (11/17/2015)


    Using MERGE is your best option. You can control each of the conditions

    I can't see MERGE working in a two-way sync solution, unless there are never any deletions and...

  • RE: Script task experts welcome

    OK, I wrote a simple SSIS package to try this out.

    My solution uses the code from this page, without modification.

    I added a package parameter called FilePath, which I set to...

  • RE: SQL not liking alias

    MadAdmin (11/17/2015)


    John Mitchell-245523 (11/17/2015)


    The FROM needs to appear at the end of your column list.

    He is using the old ansi-89 style joins.

    SELECT

    tm.task_id

    FROM

    task_mstr...

  • RE: SQL not liking alias

    cjefferson (11/17/2015)


    I'm trying to run a simple query where I'm aliasing. SQL keeps giving me syntax error on the first alias call(SELECT tm.task_id). Does anyone have any ideas as to...

  • RE: Nested loop join operator estimate rows is 10000 in compatibility level 2014.

    You could try using OPTIMIZE FOR ...

    You could also consider adding trace flag 9481 to your problematic queries, at least in the short term.

  • RE: Nested loop join operator estimate rows is 10000 in compatibility level 2014.

    Bouke Bruinsma (11/17/2015)


    A simple query joining 2 tables:

    select * from t1 join t2 on t1.id = t2.id

    t1 is a table with only column id with a user defined statistic with...

  • RE: Sync Tables

    Ratheesh.K.Nair (11/17/2015)


    Hi Experts,

    Is there anyway to sync few tables of two live databases which are hosted in different servers?

    TIA

    Is that a two-way sync?

  • RE: Data Conversion in ssis

    vipin_jha123 (11/17/2015)


    It is having Numeric data type

    Only because that is what is assigned to it by SSIS. You can change this.

    But I say again: flat file columns have no (explicit)...

  • RE: Data Conversion in ssis

    Data in flat files does not have a data type.

  • RE: Using Lile and OR in a WHERE clause

    Luis Cazares (11/16/2015)


    Phil Parkin (11/16/2015)


    There was a problem with your final LIKE. '%%' does not mean anything more than '%', which in turn means anything or nothing.

    Anything or nothing that...

  • RE: Using Lile and OR in a WHERE clause

    David Tooker (11/16/2015)


    Hi,

    I need to use a Like statement with an Or statement in a where clause. below is what I am trying to do and the @ProjectType can...

  • RE: SSISDB question

    OK, now I understand better. I get round that limitation (as suggested in previous posts) in a different way:

    use SSISDB

    go

    exec catalog.set_environment_variable_value @folder_name = N'_environments', -- nvarchar(128)

    @environment_name...

Viewing 15 posts - 7,891 through 7,905 (of 13,876 total)