Forum Replies Created

Viewing 15 posts - 781 through 795 (of 825 total)

  • RE: column & data type.

    Lynn Pettis (7/23/2009)


    There really should have been a third choice: It Depends. It really does, what data type is being converted to what data type?

    For example you can't eliminate...

  • RE: column & data type.

    Not always. Converting varchar to int, may fail if some value is not numeric.

  • RE: char and varchar!

    EdVassie (7/2/2009)


    I have seen some poor database designs that have ignored this fact, with varchar(1), varchar(2), etc fields.

    Everybody always should use the RIGHT type.

    varchar(1) and char(1) are not similar nor...

  • RE: char and varchar!

    This a question for very beginner!

  • RE: Unicode

    "Elementary, my dear Watson" .

    Good morning!

  • RE: one character of data

    I answered varchar(1), because I like to use varchar. I hate CHAR cause of big problem that can lead, and NCHAR NVARCHAR cause of waste of space.

  • RE: Writing Dynamic Stored Procedure

    Old style to write the WHERE condition.

    I prefer to build a string ONLY with the true condition; it's more performing.

    In a complex WHERE with useless condition may lead to a...

  • RE: Create Database

    c:\ and C:\mssql\ should exists and sql account should have permissions to write.

  • RE: Mr. & Mrs.Smith!

    I agreed with you. I do not like unneeded parenthesis.

  • RE: TOP

    I disagree! See the question of yesterday.

  • RE: SELECT FUN

    this question is the same of "predict output".

    Also the second answer is correct, cause of lack of ORDER BY.

  • RE: Check Syntax on a Database

    Vaccano (4/21/2009)


    Check your "Messages" tab after it has run. It outputs a report to that tab. (Though if you db is error free then it will do "nothing".)

    Vaccano

    I...

  • RE: Check Syntax on a Database

    It does nothing! 😎

  • RE: Error Severity

    Correct answer is 1-25:

    exec sp_helptext sp_addmessage

    in the output search for @severity and you'll find this piece of code that is the law.

    --...

  • RE: T-SQL Operators

    Bah?

Viewing 15 posts - 781 through 795 (of 825 total)