Forum Replies Created

Viewing 15 posts - 2,101 through 2,115 (of 3,011 total)

  • RE: Alternate options to check if the SQL server is running

    There are many options, but here are a few.

    You can use the Computer Management utility to check if the service is running.

    You can use the SC command line utility from...

  • RE: Setting User Permissions

    J (1/15/2009)


    Michael Valentine Jones

    Create database roles for different types of user access, assign database and object permissions to database roles only, and then add individual users to...

  • RE: Setting User Permissions

    Create database roles for different types of user access, assign database and object permissions to database roles only, and then add individual users to the correct database roles.

  • RE: Image is Everything

    Jack Corbett (1/14/2009)


    Michael Valentine Jones (1/14/2009)


    I just saw our CEO (30,000+ employees) was wearing a hoodie and jeans today.

    Guess I’m going to have to start dressing down.

    Do you work for...

  • RE: Image is Everything

    I just saw our CEO (30,000+ employees) was wearing a hoodie and jeans today.

    Guess I’m going to have to start dressing down.

  • RE: Excluding non date's from query

    This way will prevent SQL Server from bypassing the check.

    Case statement conditions are evaluated one at a time, and processing of the case stops on the first true condition.

    Select

    9 as...

  • RE: math with sql

    If you mean a true remainder, this will give it:

    select 2621475%65535

    If you actually mean you want to see the decimal fraction, this will give it:

    select 2621475./65535.

    As to why, you should...

  • RE: Image is Everything

    Getting back to the original subject of the T-shirt, I just looked at our company manual, and it specifically bans wearing T-shirts, along with sweat suits, hats, tank tops, stretch...

  • RE: Look at the size of my BCHR

    I have rarely seen anything below 99%, so I don’t pay much attention to it.

    I look more at Average Page Life Expectancy and Page Reads/Sec. These seem to be...

  • RE: highest unused ID

    Going strictly by the stated requirements, then -2147483648 is the lowest unused value.

  • RE: Datediff not calculating corectly

    RBarryYoung (1/8/2009)


    Yeah, but "YDM" is not the date standard for any nation. That's why ISO choose it. And what is the alternative way to do this that is...

  • RE: Update Date Field

    DATEADD(YY,1,MyOldDate) is the way to go to update the year, but you should be aware that dates of 2008-02-29 wirll be converted to 2009-02-28, because there is no Feb 29...

  • RE: Performance issues with identity column in PK?

    sqlservercentral (1/6/2009)


    Thanks for the feedback so far. I was curious as to whether the use of an Identity column for the PK would result in a possible bottleneck when several...

  • RE: To find the difference between two datetimes

    The best way to handle this is to let SQL Server compute the time difference as a datetime (EndTime-StartTime) that is an offset from 1900-01-01 00:00:00.000 and then parse the...

  • RE: Please help converting decimal (9) to string without decimals

    CAST(CAST(ROUND(dbo.invoice_line.qty_shipped, 0) as int) as varchar(40))

Viewing 15 posts - 2,101 through 2,115 (of 3,011 total)