Forum Replies Created

Viewing 15 posts - 46 through 60 (of 117 total)

  • RE: Query to discover BOTs

    Hi Thom,

    Thanks for this. Yea, I am struggling with this a bit.

    Basically, I need to find Users that are on for 24 hours, with no inactive...

    Everyone has a plan until they get punched in the mouth. --Mike Tyson

  • RE: SELECT timestamp in 20 second intervals

    Thom A - Tuesday, January 31, 2017 7:39 AM

    How about:
    SELECT COUNT(T.UID),
           DATEADD(second, CASE WHEN DATEPART(second,T.datetimestamp) < 20 THEN 0
           ...

    Everyone has a plan until they get punched in the mouth. --Mike Tyson

  • RE: SELECT timestamp in 20 second intervals

    Thom A - Tuesday, January 31, 2017 7:39 AM

    How about:
    SELECT COUNT(T.UID),
           DATEADD(second, CASE WHEN DATEPART(second,T.datetimestamp) < 20 THEN 0
           ...

    Everyone has a plan until they get punched in the mouth. --Mike Tyson

  • RE: Connect to sql box via cmdshell

    Phil Parkin - Thursday, January 12, 2017 1:46 PM

    Lord Slaagh - Thursday, January 12, 2017 1:39 PM

    Everyone has a plan until they get punched in the mouth. --Mike Tyson

  • RE: Create TAB delimited file using BCP cmd line

    Thanks Lowell.

    Is this supposed to be a shared drive? Can it work without? My companies security is locked down, unfortunately.

    Everyone has a plan until they get punched in the mouth. --Mike Tyson

  • RE: Import data from SQL Server to Vertica

    I will check that out and thank you.

    Everyone has a plan until they get punched in the mouth. --Mike Tyson

  • RE: Import data from SQL Server to Vertica

    Thank you all for your responses. Being in this industry, I have, of course heard the acronym RTFM. It just makes people feel like they haven't done their research, which...

    Everyone has a plan until they get punched in the mouth. --Mike Tyson

  • RE: Import data from SQL Server to Vertica

    Wow, I didn't expect hostility. I have been "RTFM", that is why I am asking for help. I love this site (until you responded), and I was hoping someone had...

    Everyone has a plan until they get punched in the mouth. --Mike Tyson

  • RE: execute multiple jobs in parallel SQL Agent

    Thanks!

    Everyone has a plan until they get punched in the mouth. --Mike Tyson

  • RE: execute multiple jobs in parallel SQL Agent

    Hi Phil,

    So my script will have a one second delay before kicking off each job?

    Thanks

    Everyone has a plan until they get punched in the mouth. --Mike Tyson

  • RE: execute multiple jobs in parallel SQL Agent

    Can you give me an example of... "simply have one task for each statement on the same schedule".

    I am not sure what you mean or how to do this.

    Thanks again!

    Everyone has a plan until they get punched in the mouth. --Mike Tyson

  • RE: Execute Oracle packages (control-M) using SQL Agent and Powershell

    Thanks guys!

    Everyone has a plan until they get punched in the mouth. --Mike Tyson

  • RE: Execute Oracle packages (control-M) using SQL Agent and Powershell

    Luis - The command-line that I provided will be executed from SQL Agent. From what my boss has told me, re engineering these Oracle packages to SSIS is going to...

    Everyone has a plan until they get punched in the mouth. --Mike Tyson

  • RE: Select connection string in SSMS

    Is there a way to SELECT the full data source from SSMS?

    Everyone has a plan until they get punched in the mouth. --Mike Tyson

  • RE: Powershell script to modify config file

    Found the solution on MSDN forums:

    [xml] $config = get-content "yourxmlfile.xml"

    $item = $config.properties.property | ? { $_.name -eq "Reports.DMV.TNSEntry" }

    $item.value = "Data Source=...."

    Set-Content "yourxmlfile.xml" -Value $config.InnerXml -Force

    Everyone has a plan until they get punched in the mouth. --Mike Tyson

Viewing 15 posts - 46 through 60 (of 117 total)