Forum Replies Created

Viewing 15 posts - 136 through 150 (of 541 total)

  • RE: Moving Subreports

    You will need to recreate the report and add a subreport.

  • RE: Database Design - Need help in Choosing a primary key

    It all depends on your business rules.

    If the rule is that you must identify each row uniquely within a table then you need the default primary key.

    How will you join...

  • RE: How to modify these procedure for my input is null or zero

    I fixed your sample code and added default parameter into the sproc.

    CREATE TABLE ind_state (

    ind_stat_id INT

    ,ind_state_name VARCHAR(50)

    )

    INSERT INTO ind_state

    VALUES (

    '1'

    ,'Pondi'

    )

    ,(

    '2'

    ,'TamilNadu'

    )

    CREATE TABLE ind_state_dist (

    ind_dist_id INT

    ,ind_dist_name VARCHAR(100)

    ,ind_stat_id INT

    )

    INSERT INTO ind_state_dist

    VALUES (

    '1'

    ,'mahe'

    ,'1'

    )

    ,(

    '2'

    ,'KaraiKal'

    ,'1'

    )

    ,(

    '3'

    ,'Chennai'

    ,'2'

    )

    ,(

    '4'

    ,'Salem'

    ,'2'

    )

    CREATE TABLE...

  • RE: SSIS error with using the Conditional Split

    try this:

    ((ISNULL(Lkp_DATEENROLLED) ? (DT_DBDATE)"1901/01/01" : Lkp_DATEENROLLED)

    !=

    (ISNULL(DATEENROLLED) ? (DT_DBDATE)"1901/01/01" : DATEENROLLED))

  • RE: Help with Pivot in T-SQL

    Jeff Moden (10/28/2013)


    Sorry Alex,

    I just didn't have the time to warp the data into a table.

    Dwain's solution is pretty much the same (just missing pre-aggregation but not a big...

  • RE: Help with Pivot in T-SQL

    dwain.c (10/27/2013)


    Jeff Moden (10/25/2013)


    Hey Alex,

    Throw your test data into some readily consumable code and I'll be happy to show you how to do this.

    I'll be a little more...

  • RE: Help with Pivot in T-SQL

    Jeff Moden (10/25/2013)


    Hey Alex,

    Throw your test data into some readily consumable code and I'll be happy to show you how to do this. See the article at the first...

  • RE: Sum column based on time interval

    Thank you Sean and Geoff.

    Geoff you're right about

    #2 it is 12:00 - 12:59

    #4 thank you.

  • RE: ReportingServices.exe CPU is high. How to find currently running reports ?

    There is a table in ReportServer DB called RunningJobs but it does not update instantly during report execution.

    So you have to tweak RSReportServer.config RunningRequestsDbCycle and set it to 15 or...

  • RE: Does microsoft have a tool similar to Red Gate

    Sean Grebey (4/19/2013)


    AndrewSQLDBA (4/18/2013)


    What tool? Redgate had a large collection of different pieces of software. Have to be more specific.

    Andrew SQLDBA

    Sorry, SQL Compare.

    A tool we can use to make sure...

  • RE: dbWarden - A Free SQL Server Monitoring Package

    alchemistmatt (4/18/2013)


    Matt

    By how much does your dba database grow daily?

    Alex S

    Good question; I hadn't checked yet. Turns out I can use the FileStatsHistory table data to answer your question:...

  • RE: dbWarden - A Free SQL Server Monitoring Package

    alchemistmatt (4/16/2013)


    I'm now running this in a production environment on 8 servers. I have some suggested fixes for you

  • Expand [Filename] to NVARCHAR(255) when creating table #BACKUPS. I have...

  • RE: dbWarden - A Free SQL Server Monitoring Package

    This is awesome.

    Thank you.

  • RE: Database backup and restoration

    Have you tried log shipping?

    Log shipping only copies and restores tran logs and you only need a full backup restored once on your destination.

  • Viewing 15 posts - 136 through 150 (of 541 total)