Forum Replies Created

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

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

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

  • RE: How to compare text in sql server

    See if this is helpful to you .

    https://msdn.microsoft.com/en-us/library/ms186329.aspx

    The article has an example that makes use of a audit table. I have to wonder if you are not concerned about...

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

  • RE: Passing temp table from one stored procedure to another

    The problem may be that you are also creating a table inside the inner stored procedure ( with the same name I presume). In these cases each object is local...

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

  • RE: Dynamic pivot table and SSRS

    I only want to include the Doctor groups that have >11 discharges.

    Do you mean across the whole twelve months or just 11 or less in any one month?

    One...

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

  • RE: perform an activity on each database on the server

    Partha Mandayam (11/30/2016)


    Not really. Many undocumented procedures work fine and are really useful.

    Depends on what you mean by working fine. You are stepping into the unknown and items like what...

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

  • RE: SSIS Excel import error

    spidey73 (11/28/2016)


    I thought I found the cause of the issue but NO. But I still was astonished.

    When you create a SSIS package, you create connection managers.

    These connection managers and the...

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

  • RE: Foreach ADO.NET Schema Rowset Enumerator won't loop through Excel Workbook

    The casing is taken into accounts with names of the worksheets? Though I believe this would produce an error still good to be sure. And the list(s) in that fifth...

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

  • RE: Last 2 years and YTD

    The DATEFROMPARTS function does not work in the 2008 edition.

    As an alternative ...

    declare @fromDate date, @toDate date ;

    select @fromDate=

    dateadd(m,0,cast(Cast(year(getdate())-2 as char(4)) as date))

    select @toDate = cast(getdate() as...

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

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