Forum Replies Created

Viewing 15 posts - 376 through 390 (of 1,250 total)

  • RE: Comparing Execution Plans

    Koen Verbeeck (12/14/2016)


    Igor Micev (12/14/2016)


    Nowhere in the question is stated that the SSMS is 2016 version. "Compare Showplan" is not available in the lower versions.

    So the answer is not...

    ----------------------------------------------------

  • RE: Multiple Joins on Fact Table

    Quick answers,

    a) Creating a surrogate key should be a normal routine

    b) If there is no business ID (primary key usually) in your source data , try communicating to the...

    ----------------------------------------------------

  • RE: Multiple Joins on Fact Table

    Thanks for the feedback Kevin. That looks like a star schema coming together now. What about the account type? That can be an attribute in the account dimension. As far...

    ----------------------------------------------------

  • RE: I'm scared to delete log file

    spectra (12/11/2016)


    I have run that query ...and I checked those files are not present in the returned physical path result.

    seems ...I can safely delete those files.

    You may want to archive...

    ----------------------------------------------------

  • RE: Good to have Multiple Data Warehouses?

    JesseBizInt (12/12/2016)


    In my environment I have many different departments that need to be kept separate from each other, yet share some data elements such as calendars and employee profiles. ...

    ----------------------------------------------------

  • RE: Best way to automate running adhoc scripts?

    I would bet this is the type of situation where the script is easy and fast to run and the fix is complex to where they keep putting it off...

    ----------------------------------------------------

  • RE: trying to get rid of clustered index scan

    exec sp_executesql N'select TherapyAdmin_ID, VisitObservation_ID, 1 as RowVersionNumber from hcs.AdminObservation

    where TherapyAdmin_ID in (select TherapyAdmin_ID from hcs.PatientOrder,hcs.TherapyAdmin where PatientOrder.Order_ID=TherapyAdmin.Order_ID

    and PatientOrder.PatientVisit_ID=@Parameter1) order by VisitObservation_ID',N'@Parameter1 bigint',@Parameter1=264377212

    Do you have any index on...

    ----------------------------------------------------

  • RE: SSIS Excel import error

    spidey73 (12/6/2016)


    The job step runs with a proxy. The account used in the proxy/credential is a domain account with privileges on the folder, but NO privileges on the server on...

    ----------------------------------------------------

  • RE: Working days grouped by month

    Referring to the article on the calendar table, you could add a [month] column that would makes this easy for you.

    You would create the field and update it by...

    ----------------------------------------------------

  • RE: Multiple Joins on Fact Table

    points back to the source/staging table

    Just does not come across to me as a good idea. That should be defined and referred to in your ETL process.

    ----------------------------------------------------

  • RE: Multiple Joins on Fact Table

    I think it is a good idea to keep the business ID along with your surrogate key definitely. As far as the source, that sounds to me more for auditing...

    ----------------------------------------------------

  • RE: Minus Column for current month from previous month

    I am also assuming that the odoReading (mileage) increases with time , we are talking about vehicle miles correct?

    ----------------------------------------------------

  • RE: Minus Column for current month from previous month

    I think you may have to keep track of the vehicle as well?

    If you dont mind doing it the old fashion way (pre Lag() and Lead() ) here is a...

    ----------------------------------------------------

  • RE: Query results omitting carriage returns/text formatting

    You can also opt to display your results to TEXT (rather than the default grid). The nature of a cell is such that the value takes priority over the...

    ----------------------------------------------------

  • RE: Functions Database

    It makes sense to me to have these functions in their own database so as to keep a consistent definition of them in one central spot. Keeps you from having...

    ----------------------------------------------------

Viewing 15 posts - 376 through 390 (of 1,250 total)