Forum Replies Created

Viewing 15 posts - 271 through 285 (of 541 total)

  • RE: tempDB filled 140GB HDD in under 2 days?

    Thanks guys, I also got the call on the drive home after a night out 🙂

    We recently had a developer write code for a complex report (took a few days...

    -------------------------------------------------------------------------------------
    A neutron walks into a bar. "I'd like a beer" he says. The bartender promptly serves up a beer. "How much will that be?" asks the neutron. "For you?" replies the bartender, "no charge."

    Two hydrogen atoms walk into a bar. One says, 'I think I've lost an electron.' The other says 'Are you sure?' The first says, 'Yes, I'm positive... '

    Tommy Cooper

  • RE: Input string was not in a correct format

    Thanks Jack I will give that a try.

    Phil.

    -------------------------------------------------------------------------------------
    A neutron walks into a bar. "I'd like a beer" he says. The bartender promptly serves up a beer. "How much will that be?" asks the neutron. "For you?" replies the bartender, "no charge."

    Two hydrogen atoms walk into a bar. One says, 'I think I've lost an electron.' The other says 'Are you sure?' The first says, 'Yes, I'm positive... '

    Tommy Cooper

  • RE: UPDATE from Database 1 to Database 2

    Thanks that worked a treat.

    Kind Regards,

    Phil.

    -------------------------------------------------------------------------------------
    A neutron walks into a bar. "I'd like a beer" he says. The bartender promptly serves up a beer. "How much will that be?" asks the neutron. "For you?" replies the bartender, "no charge."

    Two hydrogen atoms walk into a bar. One says, 'I think I've lost an electron.' The other says 'Are you sure?' The first says, 'Yes, I'm positive... '

    Tommy Cooper

  • RE: Using IF to control Page Header

    I was advised by a developer to use:

    Public Function getHeaderText(ByVal purchaseOrderId As String) As String

    Select Case Left(purchaseOrderId, 3)

    ...

    -------------------------------------------------------------------------------------
    A neutron walks into a bar. "I'd like a beer" he says. The bartender promptly serves up a beer. "How much will that be?" asks the neutron. "For you?" replies the bartender, "no charge."

    Two hydrogen atoms walk into a bar. One says, 'I think I've lost an electron.' The other says 'Are you sure?' The first says, 'Yes, I'm positive... '

    Tommy Cooper

  • RE: Using IF to control Page Header

    Can anyone with me a lesson in adding custom code for such a scenario?

    Thanks,

    Phil.

    -------------------------------------------------------------------------------------
    A neutron walks into a bar. "I'd like a beer" he says. The bartender promptly serves up a beer. "How much will that be?" asks the neutron. "For you?" replies the bartender, "no charge."

    Two hydrogen atoms walk into a bar. One says, 'I think I've lost an electron.' The other says 'Are you sure?' The first says, 'Yes, I'm positive... '

    Tommy Cooper

  • RE: Using IF to control Page Header

    Thanks Niraj. When executed returns error:

    [rsMultiReportItemsInPageSectionExpression] The Value expression for the textbox ‘textbox37’ refers to more than one report item. An expression in a page header or footer can...

    -------------------------------------------------------------------------------------
    A neutron walks into a bar. "I'd like a beer" he says. The bartender promptly serves up a beer. "How much will that be?" asks the neutron. "For you?" replies the bartender, "no charge."

    Two hydrogen atoms walk into a bar. One says, 'I think I've lost an electron.' The other says 'Are you sure?' The first says, 'Yes, I'm positive... '

    Tommy Cooper

  • RE: Unable to Modify / Delete a Shared Schedule

    I worked out what the issue was. When I scheduled the task it created a job. I was unaware of this and was reviewing sql jobs. I noted 2 jobs...

    -------------------------------------------------------------------------------------
    A neutron walks into a bar. "I'd like a beer" he says. The bartender promptly serves up a beer. "How much will that be?" asks the neutron. "For you?" replies the bartender, "no charge."

    Two hydrogen atoms walk into a bar. One says, 'I think I've lost an electron.' The other says 'Are you sure?' The first says, 'Yes, I'm positive... '

    Tommy Cooper

  • RE: Break Mirror / Restore Database / Reconfigure Mirror?

    Steps taken:

    --From Principal

    ALTER DATABASE DBName SET PARTNER OFF

    --Set Recovery Mode for Principal

    ALTER DATABASE DBName SET RECOVERY FULL

    --Backup the Principal Database + Transaction Log copy over to Mirror Server C:\Mirror

    --Then...

    -------------------------------------------------------------------------------------
    A neutron walks into a bar. "I'd like a beer" he says. The bartender promptly serves up a beer. "How much will that be?" asks the neutron. "For you?" replies the bartender, "no charge."

    Two hydrogen atoms walk into a bar. One says, 'I think I've lost an electron.' The other says 'Are you sure?' The first says, 'Yes, I'm positive... '

    Tommy Cooper

  • RE: Break Mirror / Restore Database / Reconfigure Mirror?

    OK all is now happy and well.

    I ran ALTER DATABASE DBName SET PARTNER OFF on the mirror.

    I then ran SET PARTNER

    I will do it all again so all is...

    -------------------------------------------------------------------------------------
    A neutron walks into a bar. "I'd like a beer" he says. The bartender promptly serves up a beer. "How much will that be?" asks the neutron. "For you?" replies the bartender, "no charge."

    Two hydrogen atoms walk into a bar. One says, 'I think I've lost an electron.' The other says 'Are you sure?' The first says, 'Yes, I'm positive... '

    Tommy Cooper

  • RE: Break Mirror / Restore Database / Reconfigure Mirror?

    Hi. I dropped the mirror database. I then restored the database + log using NORECOVERY.

    Now when I try to configure mirroring I receive:

    Neither the partner nor the witness server instance...

    -------------------------------------------------------------------------------------
    A neutron walks into a bar. "I'd like a beer" he says. The bartender promptly serves up a beer. "How much will that be?" asks the neutron. "For you?" replies the bartender, "no charge."

    Two hydrogen atoms walk into a bar. One says, 'I think I've lost an electron.' The other says 'Are you sure?' The first says, 'Yes, I'm positive... '

    Tommy Cooper

  • RE: Break Mirror / Restore Database / Reconfigure Mirror?

    I seem unable to do anything with the database on the mirror. Can I stop restoring?

    Need to get this resolved ASAP......little beads of sweat appearing which is never good!

    Thanks,

    Phil.

    -------------------------------------------------------------------------------------
    A neutron walks into a bar. "I'd like a beer" he says. The bartender promptly serves up a beer. "How much will that be?" asks the neutron. "For you?" replies the bartender, "no charge."

    Two hydrogen atoms walk into a bar. One says, 'I think I've lost an electron.' The other says 'Are you sure?' The first says, 'Yes, I'm positive... '

    Tommy Cooper

  • RE: Job scheduled to execute SSIS Package Fails

    Thanks I will take a look.

    Phil.

    -------------------------------------------------------------------------------------
    A neutron walks into a bar. "I'd like a beer" he says. The bartender promptly serves up a beer. "How much will that be?" asks the neutron. "For you?" replies the bartender, "no charge."

    Two hydrogen atoms walk into a bar. One says, 'I think I've lost an electron.' The other says 'Are you sure?' The first says, 'Yes, I'm positive... '

    Tommy Cooper

  • RE: Report Server - Calculate Execution Time

    I created a stored proc with the intention of allowing a user to run a report passing the stored proc the ReportId.

    What I hoped was to be able to do...

    -------------------------------------------------------------------------------------
    A neutron walks into a bar. "I'd like a beer" he says. The bartender promptly serves up a beer. "How much will that be?" asks the neutron. "For you?" replies the bartender, "no charge."

    Two hydrogen atoms walk into a bar. One says, 'I think I've lost an electron.' The other says 'Are you sure?' The first says, 'Yes, I'm positive... '

    Tommy Cooper

  • RE: Report Server - Calculate Execution Time

    Perfect, I played about with DATEDIFF.......

    Many Thanks,

    Phil.

    -------------------------------------------------------------------------------------
    A neutron walks into a bar. "I'd like a beer" he says. The bartender promptly serves up a beer. "How much will that be?" asks the neutron. "For you?" replies the bartender, "no charge."

    Two hydrogen atoms walk into a bar. One says, 'I think I've lost an electron.' The other says 'Are you sure?' The first says, 'Yes, I'm positive... '

    Tommy Cooper

  • RE: Report Server - Calculate Execution Time

    Tried:

    SELECT ReportSchedule.ReportID, CONVERT(CHAR(5),ExecutionLog.TimeStart,114) AS 'TimeStart', CONVERT(CHAR(5),ExecutionLog.TimeEnd,114) AS 'TimeEnd',

    CONVERT(CHAR(5),TimeStart - TimeEnd,114) AS TimeTaken

    FROM ReportSchedule INNER JOIN

    ...

    -------------------------------------------------------------------------------------
    A neutron walks into a bar. "I'd like a beer" he says. The bartender promptly serves up a beer. "How much will that be?" asks the neutron. "For you?" replies the bartender, "no charge."

    Two hydrogen atoms walk into a bar. One says, 'I think I've lost an electron.' The other says 'Are you sure?' The first says, 'Yes, I'm positive... '

    Tommy Cooper

Viewing 15 posts - 271 through 285 (of 541 total)