Forum Replies Created

Viewing 15 posts - 496 through 510 (of 1,241 total)

  • RE: SSRS report connection Oracle Database as the source

    The links were provided to you because the subject matter is something that people figure that you can read through and understand on your own. It is better to get...

  • RE: IIS Configuration and Report Server

    Still, I can't connect through SSMS since login is incorrect, it says

    Can you take a look at the attachment... is this how you are trying to connect through...

  • RE: create single quotes around @variable

    For older versions of SQL SERVER : A simple (non table valued) function >

    if object_id('fcnTEST') is not null

    drop function fcnTest;

    GO

    CREATEFUNCTION dbo.fcnTEST(@param decimal(10,3))

    RETURNS decimal(10,3)

    AS

    begin

    return @param *2

    end

    GO

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

    selectdbo.fcnTEST(t.[n]) as...

  • RE: create single quotes around @variable

    On the topic of running

    'SELECT * FROM M_Driemnd(@p_number)'

    inside of a cursor....

    Not sure what the original objective was but if I am understanding well enough, I imagine can...

  • RE: Remove duplicates before inserting into destination

    It would be good to also post the definition of the destination table. We could see clearly what it defines as a duplicate.

  • RE: Date Time Issue

    SQLPain (9/20/2016)


    Thanks, so L.FundingDate <= CAST(GETDATE()-30 AS DATE) that's the best way to do it.

    I am just wondering if

    L.fundingDate < dateadd(m, -1, cast(getdate() as date))

    Would not serve your purpose...

  • RE: IIS Configuration and Report Server

    The report server cannot open a connection to the report server database. A connection to the database is required for all requests and processing.

    Just covering the obvious, is the report...

  • RE: How to load Query results into SSIS Package

    After this step I am sure you can configure the next data flow task in the control flow, to move from staging to your destination table. Though part of the...

  • RE: How to load Query results into SSIS Package

    Start with a data flow task. Open this >

    If you are joining on tables already in a SQL Server database then you will simply use that same SQL statement...

  • RE: Getting the last weekday date for report header

    So for the Monday, you want Friday listed,

    Same for Sunday.

    Would the code not actually read as

    (1 indicates a Monday)

    iif(Weekday(Parameters!TopLineDate.Value,1) = 1,

    dateadd("d", -3, Parameters!TopLineDate.Value),

    ...

  • RE: ssis package to load data

    I am interested in seeing what the columns actually are. Can you post this? I suspect you are not satisfying 3rd normal form in your database tables.

  • RE: SQL anaylsis

    Hugo Kornelis (9/16/2016)


    MMartin1 (9/15/2016)


    Just wanted to bring up a point of inquiry : the view sys.dm_db_index_usage_stats would not satisfy if any table has no indeces I imagine.

    A logical...

  • RE: Do distinct inside SSRS report

    This is just to illustrate the concept outside of SSRS

    Create table #temp (

    colA tinyint,

    colB tinyint,

    colC tinyint,

    colD tinyint,

    colE tinyint,

    colF tinyint,

    colG tinyint,

    colH tinyint

    )

    /* inssert some test data into our table */

    insert...

  • RE: Adding two new fields to a View

    Hi, Sorry I dont quite understand the question . You want to know how to alter a view to add two new existing columns? Can you post what you have...

  • RE: SQL anaylsis

    Just wanted to bring up a point of inquiry : the view sys.dm_db_index_usage_stats would not satisfy if any table has no indeces I imagine.

    I am not sure...

Viewing 15 posts - 496 through 510 (of 1,241 total)