Forum Replies Created

Viewing 15 posts - 8,686 through 8,700 (of 10,144 total)

  • RE: how can use two subquery

    This query would be a heck of a lot simpler - and probably much faster - if all those repetitive correlated subqueries were replaced by derived tables:

    SELECT No,nome, SUM(Saldo)...

  • RE: T-Sql rant

    Bob Hovious (3/16/2009)


    Isn't it nice that we can end this particular rant on a pleasant note?

    C#

  • RE: T-Sql rant

    Bob Hovious (3/16/2009)


    I am starting to cringe. Two threads

    Sacrilege!!

    Heresy!!

    There can only be One!!

    I think I need to go take my meds, now...

    You'll be oblivious, Bob Hovious, that's...

  • RE: T-Sql rant

    Gaby Abed (3/16/2009)


    Bob Hovious (3/16/2009)


    All hail The Thread... Eternal is The Thread... Great is The Thread... Mighty Mighty is The Thread.

    Let us make great sacrifice of cursors and recursive CTEs....

    "In...

  • RE: -Cannot resolve collation conflict for UNION operation.

    Once you've noted the server & column collations, you can take care of your collation conflict by following this example:

    DROP TABLE CollationTest1

    CREATE TABLE [dbo].[CollationTest1](

    [CT1ID] [int] IDENTITY(1,1) NOT NULL,

    [CT1] [varchar](30) COLLATE...

  • RE: -Cannot resolve collation conflict for UNION operation.

    karan457 (3/16/2009)


    Hi iam not able to get can u explain please

    A published article such as this will explain your problem far better than a single post in the forums section....

  • RE: -Cannot resolve collation conflict for UNION operation.

    There's an excellent article by Steve Jones here[/url] which describes the cause and the solution to your problem. If you're still unsure after reading the article, then repost for additional...

  • RE: Are the posted questions getting worse?

    RBarryYoung (3/14/2009)


    OK, this is the most disturbing thing that I have read in a while. Read it closely. Brrrr...

    Blimey - now ain't that a triumph of quantity over...

  • RE: T-Sql rant

    foxjazz (3/13/2009)


    Why couldn't they write t-sql more like C# or have a flavored compiler for t-sql so that we could work it like c# or vb depending on how you...

  • RE: What is wrong with this statement

    ramadesai108 (3/13/2009)


    If I run the proc with param 'Sp1' then i get the following:

    Conversion failed when converting the nvarchar value 'Sp1' to data type int.

    This could be a different issue...

  • RE: Are the posted questions getting worse?

    GilaMonster (3/13/2009)


    Am I being too harsh here?

    http://www.sqlservercentral.com/Forums/FindPost675279.aspx

    Not really - he's prone to letting his enthusiasm get the better of him, but he's willing to learn and accepts corrections from others...

  • RE: Are the posted questions getting worse?

    Steve Jones - Editor (3/13/2009)


    So do we teach people here? Or push them to get better? Or push them away and say you're not qualified" and you need to go...

  • RE: Are the posted questions getting worse?

    Ninja's_RGR'us (3/13/2009)


    When you post a reply, there's a button with a green round icon and a link chain. That button posts up a javascript window to input the url...

  • RE: Splitting procedure text into a separate row

    Here's a quick and dirty method for getting the content of a single sproc into a table, line by line:

    IF OBJECT_ID('tempdb..#ProcedureLines') IS NOT NULL

    DROP TABLE #ProcedureLines

    CREATE TABLE #ProcedureLines (RowID INT...

  • RE: CAST Statement - Month Conversion

    Michael Valentine Jones (3/11/2009)


    The code below is the standard way to get a date without the time in SQL Server.

    Extensive testing (by me and many others) has shown that...

Viewing 15 posts - 8,686 through 8,700 (of 10,144 total)