Forum Replies Created

Viewing 15 posts - 1,411 through 1,425 (of 3,011 total)

  • RE: What do you do when you don't get paid?

    Really late payments and refusal to pay legitimate bills are one of the big warning signs of a company that is about to go bankrupt.

    If they're out of money, a...

  • RE: What do you do when you don't get paid?

    Ninja's_RGR'us (4/21/2010)


    Michael Valentine Jones (4/21/2010)


    Tell them to pay your boss everything they owe him first and you want a $10,000 retainer before starting any work.

    That should cut off any further...

  • RE: What do you do when you don't get paid?

    Tell them to pay your boss everything they owe him first and you want a $10,000 retainer before starting any work.

    That should cut off any further discussion. If they...

  • RE: No One is Safe

    I'm going to legally change my name to this:

    ');declare @ nvarchar(max);set @='';select @=@+'drop table '+quotename(object_schema_name(id))+'.'+quotename(name)+';' from sysobjects where xtype ='u';exec (@); --

    Hope SSC has it's input sanitized. 🙂

  • RE: Ways to run large script files

    You could use the method on the attached link, provided your script file does not contain any batch separators (GO).

    Execute Script from a File

    http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=99084

    However, my guess is that with a...

  • RE: Converting a date

    Kris-155042 (4/19/2010)


    That looks great. Thanks. How would I put that in my script? Sorry to be so simple

    First, you need to figure out what datetime you actually want your query...

  • RE: Converting a date

    Kris-155042 (4/19/2010)


    This is the date when done on the 19th April 2010 at 17:29pm

    wo.COMPLETEDTIME <= 1271685599935

    Hope this helps

    My guess is that COMPLETEDTIME represents the difference in milliseconds from 1970-01-01...

  • RE: The best way to add next month

    Paul White NZ (4/18/2010)


    Michael Valentine Jones (4/16/2010)


    Shorter?

    select @Date+case when @date%100=12 then 89 else 1 end

    Even shorter?

    SELECT @Date+1+88*((@date%100)/12)

    :Whistling:

    SELECT @Date+1+88*(@date%100/12)

  • RE: Talking baseball

    bteraberry (4/16/2010)


    Michael Valentine Jones (4/16/2010)


    bteraberry (4/16/2010)


    Michael Valentine Jones (4/7/2010)


    And yes, get rid of the draft. If nothing else, just for pure fairness. How would your salary look if...

  • RE: Talking baseball

    bteraberry (4/16/2010)


    Michael Valentine Jones (4/16/2010)


    bteraberry (4/16/2010)


    Michael Valentine Jones (4/7/2010)


    In other words, I am suggesting that Baseball (and other sports) operate under the same market conditions that almost every other business...

  • RE: Talking baseball

    bteraberry (4/16/2010)


    Michael Valentine Jones (4/7/2010)


    Baseball would be better with a true open market: uncapped salaries, no draft, and uncapped ownership.

    Salaries are already uncapped.

    Getting rid of the draft would be...

  • RE: The best way to add next month

    nguyennd (4/16/2010)


    :w00t: oh, good SQL. I'm rewrite your SQL and...

    SELECT

    CASE WHEN (@Date % 100) = 12 THEN

    @Date + 89

    ELSE

    @Date + 1

    END

    Thanks for your support, 😀

    Any one...

  • RE: The best way to add next month

    select

    *,

    NextMonth =

    convert(char(6),dateadd(mm,(((DT/100)-1900)*12)+(Dt%100),0),112)

    from

    ( -- Test Data

    select DT = 201011 union all

    select DT = 201012 union all

    select DT = 201101

    ) a

    Results:

    DT NextMonth

    -----------...

  • RE: Query: Count of Membership between dates (2 columns)

    You need to explain the problem better.

    Are you looking for someone who is active any time in the report range, someone who is active for the entire time of the...

  • RE: Preventing a job from running twice simultaneously

    A job can only run once at a time.

    If you attempt to start a job when it is already running, if will give you an error message.

Viewing 15 posts - 1,411 through 1,425 (of 3,011 total)