Forum Replies Created

Viewing 15 posts - 22,231 through 22,245 (of 26,490 total)

  • RE: Guest Editorial: Information is Power

    John Erdovegi (3/2/2009)


    I always trust computers more then stupid humans.

    Computers listen to me and don't take bribes.

    Even good governments can go bad or get worse.

    Unfortunately, computers are programmed by humans,...

  • RE: Master/Child Config files?

    The OP has started a new thread here.

  • RE: Query to find current authentication mode

    You're welcome and thanks for the feedback.

  • RE: Globalisation of my product

    What they are saying is that it takes planning and design work up front in your application to achieve. I don't think it is something that is easily done...

  • RE: QotD for 2nd March 2009

    Not really sure. I understood the question well enough to answer it and get it right.

  • RE: Query to find current authentication mode

    I assume you are asking if the SQL Server instance is using Integrated Security or not, here is a simple query to accomplish that:

    select serverproperty('IsIntegratedSecurityOnly')

    1 = Integrated security

    0 = Not...

  • RE: case alternative to if in sql

    GilaMonster (3/2/2009)


    Lynn Pettis (3/2/2009)


    You gave the OP EXACTLY what he asked for in his post.

    Nope. Barry's solution equates to IIf([x]="YEN","JPY",IIf([x]="EURO","EUR",NULL)) , ie

    If X = 'Yen' then 'JPY' ELSE If...

  • RE: case alternative to if in sql

    RBarryYoung (3/2/2009)


    Gail: Oops, I missed the last "x"! ...

    Lynn: Thanks, but as Gail pointed out, I was not entirely correct.

    Edit: Said "was", should have said "was not". slight...

  • RE: statement in t-sql

    gyessql (3/2/2009)


    why can't this be used?

    cast(cast('dd-mmm-yyyy' as smalldatetime) as nvarchar(11))

    select cast(cast('21-jan-2009' as smalldatetime) as nvarchar(11)) use_cast,

    convert(nvarchar(11), '21-jan-2009', 106) use_convert

    which outputs:

    use_cast ...

  • RE: case alternative to if in sql

    RBarryYoung (3/2/2009)


    Hmm, I think it's this:

    CASE x

    When 'YEN' Then 'JPY'

    When 'EURO' Then 'EUR'

    End AS InvCurr

    At...

  • RE: case alternative to if in sql

    Have you looked up CASE in BOL (Books Online)?

  • RE: statement in t-sql

    gyessql (3/2/2009)


    cast(cast('dd-mm-yyyy' as smalldatetime) as nvarchar(11))

    Nope.

    convert(nvarchar(11), x, 106)

  • RE: statement in t-sql

    Have you tried looking up CONVERT in BOL (Books Online)?

  • RE: Help Performance Tune this Code please

    Dean Jones (3/2/2009)


    Hi Guys,

    I have tried the index with the INCLUDE statement, and although it doesnt seem to make much diffrence to be honest, in fact when used in the...

  • RE: help

    deepeyes1980s (2/26/2009)


    the qoustion how can pull tables by using

    Northwind Access 2007 Database Table to create your SQL queries for each question. ...

Viewing 15 posts - 22,231 through 22,245 (of 26,490 total)