Forum Replies Created

Viewing 15 posts - 47,116 through 47,130 (of 59,064 total)

  • RE: getting rid of 0's in the start of a varchar(6) column

    Rajesh (11/18/2008)


    Hi,

    You should be using derived column transformation, and use substring or available string functions. This would help.

    Raj

    Easy enough to say... what formula would you use to return the following...

  • RE: Replace all empty values with NULL

    Jack Corbett (11/18/2008)


    Now that you mention it I do recall, but I still think it is a foolish requirement and impediment to success. You'd be done by now if...

  • RE: Displaying NULL as the last row + ORDER BY

    Must look eye... let the code be the teacher...

    SELECT [font="Arial Black"]CASE WHEN N IS NULL THEN 5 ELSE 4 END, N[/font]

    FROM

    (

    SELECT N

    from Tally

    where N < 11

    UNION ALL

    SELECT NULL

    ) X

    ORDER...

  • RE: Help with Money and Decimal datatype

    ALZDBA (11/18/2008)


    presentation ....... should be handled by the front end application !

    (and preferably client side)

    Do not bother sqlserver with how you want things actually presented for the human eye.

    One...

  • RE: Optimizing Database Growth

    No... I'm not talking about "growth" rates.... I'm talking about setting the database size correctly so it never has to grow. Database growth should never take you by surprise...

  • RE: Format "1" as "01"

    riga1966 (11/18/2008)


    The field data type is INT.

    I want to display it always as "01","02","03" format.

    What is the best way to do it?

    Now that you have a couple of answers, please...

  • RE: Set Date Format on Flat File Source

    If you set a column as a DATETIME datatype, and the data put into that column is in the YYYYMMDD format, no conversion is necessary... it'll just work because of...

  • RE: My application's response time has gone down from 20 sec to 2 sec after upgrading from SQL Server 2000 to SQL Server 2005.

    Heh... you guys are missing it... OP wants to know why performance IMPROVED so much after the upgrade so they can go back to the original database and make it...

  • RE: Optimizing Database Growth

    I agree... do an estimate to figure out what the total size should be with a year of data and add 20 to 25% to that number. Set the...

  • RE: SQL Table Variable Issue

    If they're all like the one you posted with a couple of cursors calling another sproc that probably has another cursor in it, you could be in for some real...

  • RE: MS SQL Aggregate Function

    Please post what you tried so we can see things like what you tried to GROUP BY. Thanks.

  • RE: Overlapping query help

    The data should actually match the table definition... instructions in the atricle everyone has posted would really make this easy.

    Msg 515, Level 16, State 2, Line 3

    Cannot insert the value...

  • RE: permissions

    metro17 (11/18/2008)


    I have 2 tables . Dept and Names . Now I need to grant access to 1 person in Names table on 1 department row in the Dept table...

  • RE: Sending Query Results in SMTP Mail

    James A. Lawrence (11/18/2008)


    Sorry! Already mentioned above!

    Still, thanks for the thought.

  • RE: Tips for New DBAs

    I've got a hell of a lot of comments to make about this article... but, let me summarize, instead...

    [font="Arial Black"]"Oh... very well done. Should be required reading for everyone...

Viewing 15 posts - 47,116 through 47,130 (of 59,064 total)