Forum Replies Created

Viewing 15 posts - 61 through 75 (of 121 total)

  • RE: sql backup to avamar

    Stogie_Maru (4/8/2011)


    What?!? :crazy: Couldn't disagree more... must be something with the setup at your organization.

    I'm seeing great speed and great "compression" (for lack of...

    Owner & Principal SQL Server Consultant
    Im Your DBA, Inc.
    https://www.imyourdba.com/

  • RE: VMWare and Disk Based Backup/Restore without actual SQL Backup?

    UMG Developer (4/8/2011)


    If your databases are in the FULL recovery mode, and you have done at least one full backup, your log files would grow and grow and grow until...

    Owner & Principal SQL Server Consultant
    Im Your DBA, Inc.
    https://www.imyourdba.com/

  • RE: Moving files that seem to contain Schema tables

    DNA_DBA (3/26/2011)


    Schemas can't have a separate data file but object in the schema can be put on different filegroups which in turn can be put on different drives.

    If you've checked...

    Owner & Principal SQL Server Consultant
    Im Your DBA, Inc.
    https://www.imyourdba.com/

  • RE: 'IS NOT NULL' in LEFT OUTER JOIN

    OOOOOOPS!

    Typing too fast and didn't realize the declared variables should be 'INT' not 'VARCHAR'. No wonder the data was all NULL. 🙂

    Changed that and it still ran twice...

    Owner & Principal SQL Server Consultant
    Im Your DBA, Inc.
    https://www.imyourdba.com/

  • RE: 'IS NOT NULL' in LEFT OUTER JOIN

    DECLARE @CompDtvarchar(2),

    @CompDtm1varchar(2),

    @CompDtm2varchar(2),

    @CompDtm3varchar(2),

    @CompDtm4varchar(2)

    SET@CompDt = DATEPART(yy, GETDATE())

    SET@CompDtm1 = DATEPART(yy, DATEADD(yy,-1,GETDATE()))

    SET@CompDtm2 = DATEPART(yy, DATEADD(yy,-2,GETDATE()))

    SET@CompDtm3 = DATEPART(yy, DATEADD(yy,-3,GETDATE()))

    SET@CompDtm4 = DATEPART(yy, DATEADD(yy,-4,GETDATE()))

    SELECT (SELECT CONVERT(varchar(10), MAX(ACCOUNTING_DATE), 101) AS Expr1

    FROM DB1.dbo.Table2

    WHERE ACCOUNTING_DATE <= GETDATE()) AS AsOfDate,

    RTRIM(a.column2)...

    Owner & Principal SQL Server Consultant
    Im Your DBA, Inc.
    https://www.imyourdba.com/

  • RE: 'IS NOT NULL' in LEFT OUTER JOIN

    GilaMonster (3/23/2011)


    WayneS (3/22/2011)


    Check out this 4-part article[/url] by MVP Gail Shaw. (Read the other parts as well - VERY useful information!)

    Except this query isn't doing an existence check....

    I don't want...

    Owner & Principal SQL Server Consultant
    Im Your DBA, Inc.
    https://www.imyourdba.com/

  • RE: 'IS NOT NULL' in LEFT OUTER JOIN

    @pam

    I agree, that dropped the processing time in half. Thanks for the suggestion. 😀

    Owner & Principal SQL Server Consultant
    Im Your DBA, Inc.
    https://www.imyourdba.com/

  • RE: XP_CMDSHELL to get files in UNC path

    Yeah, this was a takeover.

    Owner & Principal SQL Server Consultant
    Im Your DBA, Inc.
    https://www.imyourdba.com/

  • RE: XP_CMDSHELL to get files in UNC path

    Yeah, the crazy thing is that it is both domain admin and is explicitly added to the share. 🙁

    Owner & Principal SQL Server Consultant
    Im Your DBA, Inc.
    https://www.imyourdba.com/

  • RE: Pass Multi-Value 'All' Parameter Value to Drill Through Report

    WayneS (9/15/2010)


    Use the VB Join() function to pass all of the items.

    Not exactly familiar with usage on the Join() function. I know I would put it in the 'Parameter...

    Owner & Principal SQL Server Consultant
    Im Your DBA, Inc.
    https://www.imyourdba.com/

  • RE: Offset Date in a Dataset using Parameter

    Ah, I see now. Thank you!

    Owner & Principal SQL Server Consultant
    Im Your DBA, Inc.
    https://www.imyourdba.com/

  • RE: Alternative to Coalesce for comma delimited field

    Thank you, I will give it a try. I still need to use SSIS because this is only one step in a pretty large process. But I appreciate...

    Owner & Principal SQL Server Consultant
    Im Your DBA, Inc.
    https://www.imyourdba.com/

  • RE: SSIS and Remote Servers

    I figured out that it was hanging at the validation phase because I had the entire package set as 'Required' and Serializable. I changed it to 'Supported' and only...

    Owner & Principal SQL Server Consultant
    Im Your DBA, Inc.
    https://www.imyourdba.com/

  • RE: Can you use the DATEPART function in an index?

    GilaMonster (7/15/2010)


    Not like that.

    Look up computed columns. If a computed column adheres to a list of requirements, it can be persisted and indexed.

    Oh I see. You can't use DATEPART...

    Owner & Principal SQL Server Consultant
    Im Your DBA, Inc.
    https://www.imyourdba.com/

  • RE: 6 Steps to setting up Replication with Mirroring

    Rudy Panigas (7/13/2010)


    Nicely done!

    I have a question, is the order of the scripts the order of execution?

    Thanks,

    Rudy

    Yes, the order of the scripts is the order of execution. I...

    Owner & Principal SQL Server Consultant
    Im Your DBA, Inc.
    https://www.imyourdba.com/

Viewing 15 posts - 61 through 75 (of 121 total)