Results 1 to 12 of 12
  1. #1
    Join Date
    Nov 2004
    Location
    on the wrong server
    Posts
    8,835
    Provided Answers: 6

    Unanswered: my database has a boo boo

    no matter how I ask, it does not give me right answer.

    I open management studio and write "How many bananas do we have today?" and all I get is ...

    Code:
    Msg 102, Level 15, State 1, Line 2
    Incorrect syntax near 'bananas'
    I told my boss we should have gone with Oracle. What is wrong with bananas? I double checked the spelling. I think it is bug with Microsoft.
    “If one brings so much courage to this world the world has to kill them or break them, so of course it kills them. The world breaks every one and afterward many are strong at the broken places. But those that will not break it kills. It kills the very good and the very gentle and the very brave impartially. If you are none of these you can be sure it will kill you too but there will be no special hurry.” Earnest Hemingway, A Farewell To Arms.

  2. #2
    Join Date
    Jan 2004
    Location
    In a large office with bad lighting
    Posts
    1,040
    It all depends on how you hold your tongue when you type BaNaNaS.


    -- This is all just a Figment of my Imagination --

  3. #3
    Join Date
    Jan 2003
    Location
    Massachusetts
    Posts
    5,800
    Provided Answers: 11
    Gee, I don't know what to say. In SQL 2008, I get this:
    Code:
    [Microsoft][ODBC SQL Server Driver]COUNT field incorrect or syntax error
    Have you called Microsoft Support and filed a bug report?

  4. #4
    Join Date
    May 2007
    Location
    Lost in Translation
    Posts
    946
    I know what the problem is... the code monkeys stole your bananas.

    Happens to me all the time.

    "Code Monkey like Fritos
    Code Monkey like Tab and Mountain Dew
    Code Monkey very simple man
    With big warm fuzzy secret heart:
    Code Monkey like you"

    (If you don't know the brillance that is Jonathan Coulton, you should google him.)
    "Passion rebuilds the world for the youth. It makes all things alive and significant. ~Ralph Waldo Emerson

  5. #5
    Join Date
    Nov 2004
    Location
    on the wrong server
    Posts
    8,835
    Provided Answers: 6
    i pwill compromise. I will hold my tongue while my monkey talks to the PFE from M$.
    “If one brings so much courage to this world the world has to kill them or break them, so of course it kills them. The world breaks every one and afterward many are strong at the broken places. But those that will not break it kills. It kills the very good and the very gentle and the very brave impartially. If you are none of these you can be sure it will kill you too but there will be no special hurry.” Earnest Hemingway, A Farewell To Arms.

  6. #6
    Join Date
    Jun 2003
    Location
    Ohio
    Posts
    12,592
    Provided Answers: 1
    Have you tried substituting "plantains" for "bananas"? Your server may not be configured for bananas.
    If it's not practically useful, then it's practically useless.

    blindman
    www.chess.com: "sqlblindman"
    www.LobsterShot.blogspot.com

  7. #7
    Join Date
    Nov 2004
    Location
    on the wrong server
    Posts
    8,835
    Provided Answers: 6
    The more important question is whether the code monkey prefers bananas or plantains. i would ask him but he throws poop at me.
    “If one brings so much courage to this world the world has to kill them or break them, so of course it kills them. The world breaks every one and afterward many are strong at the broken places. But those that will not break it kills. It kills the very good and the very gentle and the very brave impartially. If you are none of these you can be sure it will kill you too but there will be no special hurry.” Earnest Hemingway, A Farewell To Arms.

  8. #8
    Join Date
    May 2007
    Location
    Lost in Translation
    Posts
    946
    Perhaps you just need a stronger umbrella. Or a firehose. They don't like that much though, and pissing off code monkeys is not a good idea in general. They bite.
    "Passion rebuilds the world for the youth. It makes all things alive and significant. ~Ralph Waldo Emerson

  9. #9
    Join Date
    Jan 2007
    Location
    UK
    Posts
    11,434
    Provided Answers: 10
    Try
    Code:
    DBCC CleanBananas
    I had this problem once - one of the monkeys didn't clean up the banana skins from around the database so my queries kept slipping up.


    *bu-dum-tshh*
    George
    Home | Blog

  10. #10
    Join Date
    Jun 2003
    Location
    Ohio
    Posts
    12,592
    Provided Answers: 1
    That is because after executing DBCC DropBananas you must immediately run DBCC CleanCage.
    If it's not practically useful, then it's practically useless.

    blindman
    www.chess.com: "sqlblindman"
    www.LobsterShot.blogspot.com

  11. #11
    Join Date
    Jul 2003
    Posts
    123
    Whatever you do, don't spank the monkey...

  12. #12
    Join Date
    Feb 2004
    Location
    In front of the computer
    Posts
    15,579
    Provided Answers: 54
    That's one naughty monkey... I think it has already been spanked, more than once.

    -PatP

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •